Skip to content

Commit

Permalink
Merge pull request #4925 from johnduarte/pup-5284
Browse files Browse the repository at this point in the history
(PUP-5284) Make test skip reasons explicit
  • Loading branch information
whopper committed Jun 6, 2016
2 parents a2b42b4 + 0a29976 commit 4761e35
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# expect that after correcting their actions, puppet will work correctly.
test_name "Puppet manages its own configuration in a robust manner"

skip_test "JVM Puppet cannot change its user while running." if @options[:is_puppetserver]
skip_test "JVM Puppet cannot change its user while running. PUP-6246" if @options[:is_puppetserver]

# when owner/group works on windows for settings, this confine should be removed.
confine :except, :platform => 'windows'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
test_name "puppet module upgrade (that was installed twice)"
skip_test "This test does not seem to properly respect the given modulepath"
skip_test "This test is blocked by PUP-6244"

step 'Setup'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
test_name "puppet module upgrade (with scattered dependencies)"

skip_test 'needs triage'
skip_test "This test is blocked by PUP-6244"

step 'Setup'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
test_name "#4123: should list all running services on Redhat/CentOS"
confine :to, :platform => /(el|centos|oracle|redhat|scientific)-5/

step "Validate services running agreement ralsh vs. OS service count"
# This will remotely exec:
# ticket_4123_should_list_all_running_redhat.sh

hosts.each do |host|
if host['platform'] =~ /el-5/
run_script_on(host, File.join(File.dirname(__FILE__), 'ticket_4123_should_list_all_running_redhat.sh'))
else
skip_test "Test not supported on this plaform"
end
run_script_on(host, File.join(File.dirname(__FILE__), 'ticket_4123_should_list_all_running_redhat.sh'))
end
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
test_name "#4124: should list all disabled services on Redhat/CentOS"
confine :to, :platform => /(el|centos|oracle|redhat|scientific)-5/

step "Validate disabled services agreement ralsh vs. OS service count"
# This will remotely exec:
# ticket_4124_should_list_all_disabled.sh

hosts.each do |host|
if host['platform'] =~ /el-5/
run_script_on(host, File.join(File.dirname(__FILE__), 'ticket_4124_should_list_all_disabled.sh'))
else
skip_test "Test not supported on this plaform"
end
run_script_on(host, File.join(File.dirname(__FILE__), 'ticket_4124_should_list_all_disabled.sh'))
end
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
test_name "Zone: ticket #4840 - verify that the given manifest works."
confine :to, :platform => 'solaris:pending'
skip_test "This test is blocked by PUP-6245"
confine :to, :platform => 'solaris'

require 'puppet/acceptance/solaris_util'
extend Puppet::Acceptance::ZoneUtils
Expand Down

0 comments on commit 4761e35

Please sign in to comment.