I reverted the r47360, i.e. just the test case.

Will try to get the strace output tomorrow.



Dne 3.9.2014 v 19:51 Eric Wong napsal(a):
> v.ondruch / tiscali.cz wrote:
>> I observe following error on ARM:
>>
>> ~~~
>>   3) Failure:
>> TestBenchmark#test_realtime_output [/builddir/build/BUILD/ruby-2.2.0-r47372/test/benchmark/test_benchmark.rb:159]:
>> Expected 1.0 to be < 0.999977873172611.
> 
> The real bug might be a timer firing too soon.
> 
> Can you show us the output of: strace -Tvf ruby -e 'sleep 1'
> 
> I mainly care about the timing of FUTEX_WAIT_BITSET(_PRIVATE) and poll
> syscalls.  Thank you.
> 
>> It seems to be introduced by r47360. Reverting the commit makes test
>> suite to pass once again.
> 
> Reverting just the change to lib/benchmark.rb?  Or reverting the test
> case, too?
>