From c5e8bd06ba741f0dc4bda554ce9eccabb093769f Mon Sep 17 00:00:00 2001 From: Peter Camilleri Date: Wed, 14 Jan 2015 16:07:57 -0500 Subject: [PATCH] Made the specs for .sleep test more lax. --- integration/thread_library_tests.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integration/thread_library_tests.rb b/integration/thread_library_tests.rb index 8f80428..b3dde4d 100644 --- a/integration/thread_library_tests.rb +++ b/integration/thread_library_tests.rb @@ -27,8 +27,8 @@ class ThreadLibraryTester < MiniTest::Unit::TestCase start = Time.now foorth_equal('0.05 .sleep', []) finish = Time.now - assert(finish-start > 0.04) - assert(finish-start < 0.06) + assert(finish-start > 0.03) + assert(finish-start < 0.1) end def test_creating_a_thread