summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-10-08 22:06:45 -0500
committerLuke Kanies <luke@madstop.com>2008-10-08 22:33:05 -0500
commit2afbd0d877511511fb1a0c7242d2a3251c7bb82c (patch)
treefcdf6e42d9d1af4ba4c0f515c05f83aa87832c26
parentb0c01dac2270b3107a07fd504f1c41f592e8f790 (diff)
downloadpuppet-2afbd0d877511511fb1a0c7242d2a3251c7bb82c.tar.gz
puppet-2afbd0d877511511fb1a0c7242d2a3251c7bb82c.tar.xz
puppet-2afbd0d877511511fb1a0c7242d2a3251c7bb82c.zip
Fixing a test that was failing as a result of the fix to #1491
Signed-off-by: Luke Kanies <luke@madstop.com>
-rwxr-xr-xtest/network/client/master.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/network/client/master.rb b/test/network/client/master.rb
index 4a749ac44..90f747d94 100755
--- a/test/network/client/master.rb
+++ b/test/network/client/master.rb
@@ -402,12 +402,9 @@ end
client.send(:splay)
end
- time = Puppet::Util::Storage.cache(:configuration)[:splay_time]
- assert(time, "Splay time was not cached")
-
# Now try it again
client = mkclient
- client.expects(:sleep).with(time)
+ client.expects(:sleep)
assert_nothing_raised("Failed to call sleep when splay is true with a cached value") do
client.send(:splay)