Process.times spec fails intermittently under Matz Ruby
Reported by Peter Burns | May 24th, 2008 @ 07:14 PM | in 1.0 preview
$ rake spec:check
ruby 1.8.6 (2007-09-24 patchlevel 111) [universal-darwin9.0]
......
Process.times returns current cpu times FAILED
Expected false
to equal true
on line 17 of spec/ruby/1.8/core/process/times_spec.rb:17
I have to run bin/mspec -tr spec/ruby/1.8/core/process/times_spec.rb about ten or twenty times to get this spec to fail, but it does happen. I'll go read up on what Process.times is actually doing to see if I can come up with a good patch for this.
It might be relevant that this issue shows up on a dual-core machine.
Comments and changes to this ticket
-
Federico Builes June 20th, 2008 @ 07:29 PM
- → Assigned user changed from to Federico Builes
Tried to reproduce it on OS 10.5.3 running it 100 times on a script but didn't fail once, can you please try to reproduce it again on the latest version of Rubinius?
Thanks.
-
Federico Builes July 16th, 2008 @ 09:52 AM
- → Tag changed from to spec
- → State changed from new to invalid
Tried on 10.4 and Linux with the same script but I couldn't get any positives on this, closing as invalid.
Please reopen if you see this behavior pop up again.
-
Federico Builes July 16th, 2008 @ 09:52 AM
Tried on 10.4 and Linux with the same script but I couldn't get any positives on this, closing as invalid.
Please reopen if you see this behavior pop up again.
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
