Skip to content

Commit

Permalink
Randomize service display name to fix transient test failure, and mar…
Browse files Browse the repository at this point in the history
…k unimplemented test as pending.
  • Loading branch information
Chris Doherty committed Dec 22, 2014
1 parent 8b37ebb commit 1329c26
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions spec/functional/resource/windows_service_spec.rb
Expand Up @@ -39,11 +39,14 @@
}

let(:service_params) {

id = "#{$$}_#{rand(1000)}"

test_service.merge( {
run_as_user: qualified_username,
run_as_password: password,
service_name: "spec_service_#{$$}_#{rand(1000)}",
service_display_name: "windows_service test service",
service_name: "spec_service_#{id}",
service_display_name: "windows_service spec #{id}}",
service_description: "Test service for running the windows_service functional spec.",
service_file_path: global_service_file_path,
} )
Expand Down Expand Up @@ -90,8 +93,6 @@
service_resource.run_action(:start)
end

it "raises an exception when it can't grant the logon privilege" do
# service_resource.run_action(:start)
end
it "raises an exception when it can't grant the logon privilege"
end
end

0 comments on commit 1329c26

Please sign in to comment.