summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author(no author) <(no author)@980ebf18-57e1-0310-9a29-db15c13687c0>2007-08-09 21:43:42 +0000
committer(no author) <(no author)@980ebf18-57e1-0310-9a29-db15c13687c0>2007-08-09 21:43:42 +0000
commit6a78648fc9623fd12d737bbae3754f896e1e24d8 (patch)
treeec0d8c54a1b93ab8c6262aee14ebc34754add8b8
parente143cae9a1ed6650a24b2e1a0f3cfc529c849803 (diff)
downloadpuppet-6a78648fc9623fd12d737bbae3754f896e1e24d8.tar.gz
puppet-6a78648fc9623fd12d737bbae3754f896e1e24d8.tar.xz
puppet-6a78648fc9623fd12d737bbae3754f896e1e24d8.zip
Change the service name so that it is less likely to trip on a common word and spuriously fail
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2765 980ebf18-57e1-0310-9a29-db15c13687c0
-rwxr-xr-xtest/ral/types/service.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ral/types/service.rb b/test/ral/types/service.rb
index 9e207bca1..488cd7147 100755
--- a/test/ral/types/service.rb
+++ b/test/ral/types/service.rb
@@ -10,11 +10,11 @@ class TestServiceType < Test::Unit::TestCase
# #199
def test_no_refresh_when_starting
- service = Puppet::Type.type(:service).create :name => "testing",
+ service = Puppet::Type.type(:service).create :name => "hopefully_this_isnt_in_the_process_table",
:ensure => :running, :provider => :base
assert_equal :running, service.instance_eval('@parameters[:ensure]').should
- assert_not_equal :running, service.instance_eval('@parameters[:ensure]').retrieve
+ assert_not_equal :running, service.instance_eval('@parameters[:ensure]').retrieve, "You have something called #{service.name} in your process table"
# First make sure it does not refresh
service.provider.expects(:restart).never