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