Skip to content

Commit c89c05d

Browse files
Merge pull request #9258 from tvpartytonight/PUP-11942_beaker5
Update testing to use beaker 5
2 parents b04e822 + 8f292be commit c89c05d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

acceptance/Gemfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ def location_for(place, fake_version = nil)
1212
end
1313
end
1414

15-
gem "beaker", *location_for(ENV['BEAKER_VERSION'] || '~> 4.0')
16-
gem "beaker-puppet", *location_for(ENV['BEAKER_PUPPET_VERSION'] || ["~>1.0", ">= 1.18.4"])
15+
gem "beaker", *location_for(ENV['BEAKER_VERSION'] || '~> 5.0')
16+
gem "beaker-puppet", *location_for(ENV['BEAKER_PUPPET_VERSION' || "~> 3.0"])
1717
gem "beaker-hostgenerator", *location_for(ENV['BEAKER_HOSTGENERATOR_VERSION'] || "~> 2")
18-
gem "beaker-abs", *location_for(ENV['BEAKER_ABS_VERSION'] || "~> 0.4")
18+
gem "beaker-abs", *location_for(ENV['BEAKER_ABS_VERSION'] || "~> 1.0")
1919
gem "beaker-vagrant", *location_for(ENV['BEAKER_VAGRANT_VERSION'] || "~> 0")
2020
gem "beaker-vmpooler", *location_for(ENV['BEAKER_VMPOOLER_VERSION'] || "~> 1.3")
2121
gem "beaker-vcloud", *location_for(ENV['BEAKER_VCLOUD_VERSION'] || "~> 1.0")

acceptance/tests/ticket_2455_on_solaris_init_provider_should_start_service_in_own_smf_contract.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
step "Start the fixture service on #{agent} "
117117
on(agent, puppet("resource service #{fixture_service} provider=init ensure=stopped"))
118118
on(agent, puppet("resource service #{fixture_service} provider=init ensure=running")) do |result|
119-
assert_match(/ensure changed 'stopped' to 'running'/, stdout, "The fixture service #{fixture_service} is not in a testable state on #{agent}.")
119+
assert_match(/ensure changed 'stopped' to 'running'/, result.stdout, "The fixture service #{fixture_service} is not in a testable state on #{agent}.")
120120
end
121121

122122
step "Verify whether the fixture process is alone in its SMF contract on #{agent}"

0 commit comments

Comments
 (0)