# File tests/drivers/openstack/instances_test.rb, line 148
    def test_06_02_created_instance_can_be_destroyed
      params = {
        'api[driver]''api[driver]' => 'openstack',
      }
      post_url "/api/instances/#{(@@instance2/'instance').first[:id]}/stop", params, authenticate
      last_response.status.should == 200
      20.times do |tick|
        get_auth_url "/api;driver=openstack/instances/#{(@@instance2/'instance').first[:id]}", { :tick => tick}
        last_response.status.should_not == 500
        break if last_response.status == 404
        sleep(5)
      end
      last_response.status.should == 404
    end