# File tests/drivers/openstack/instances_test.rb, line 118
    def test_05_01_created_instance_can_be_rebooted
      params = {
        'api[driver]''api[driver]' => 'openstack',
      }
      post_url "/api/instances/#{(@@instance/'instance').first[:id]}/reboot", params
      last_response.status.should == 200
      20.times do |tick|
        get_auth_url "/api;driver=openstack/instances/#{(@@instance/'instance').first[:id]}", { :tick => tick}
        last_response.status.should_not == 500
        state = (last_xml_response/'instance/state').first.text
        break if state=='RUNNING'
        sleep(5)
      end
    end