summaryrefslogtreecommitdiff
path: root/test/soap/marshal/test_marshal.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/soap/marshal/test_marshal.rb')
-rw-r--r--test/soap/marshal/test_marshal.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/soap/marshal/test_marshal.rb b/test/soap/marshal/test_marshal.rb
index 87e364e2aa..21776c5fd1 100644
--- a/test/soap/marshal/test_marshal.rb
+++ b/test/soap/marshal/test_marshal.rb
@@ -199,7 +199,10 @@ module MarshalTestLib
class MyTime < Time; def initialize(v, *args) super(*args); @v = v; end end
def test_time
- marshal_equal(Time.now)
+ # once there was a bug caused by usec overflow. try a little harder.
+ 10.times do
+ marshal_equal(Time.now)
+ end
end
def test_time_subclass