Project

General

Profile

Actions

Bug #17926

open

spec/ruby/core/file/atime_spec.rb: a random failing test on Travis ppc64le

Added by jaruga (Jun Aruga) 4 months ago. Updated 4 months ago.

Status:
Open
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-core:104101]

Description

I just observed the following test failing randomly on Travis ppc64le at the fd65ef2a5aa8629676d1edb6410e4d4cf60b8045. When running this commit on my forked repo, the test passed.

https://travis-ci.com/github/ruby/ruby/jobs/509310540#L2255

$ $SETARCH make -s test-spec MSPECOPT=-ff
...
1)
File.atime returns the last access time for the named file with microseconds FAILED
Expected 0 == 123456
to be truthy but was false
/home/travis/build/ruby/ruby/spec/ruby/core/file/atime_spec.rb:25:in `block (3 levels) in <top (required)>'
/home/travis/build/ruby/ruby/spec/ruby/core/file/atime_spec.rb:3:in `<top (required)>'
Actions

Also available in: Atom PDF