[前][次][番号順一覧][スレッド一覧]

ruby-changes:66404

From: Jun <ko1@a...>
Date: Wed, 2 Jun 2021 19:38:50 +0900 (JST)
Subject: [ruby-changes:66404] 2048dfc5d3 (master): Skip a `File.atime` test randomly failing on Travis ppc64le.

https://git.ruby-lang.org/ruby.git/commit/?id=2048dfc5d3

From 2048dfc5d37eecb6f1ae18e9d1770a71b46a40b9 Mon Sep 17 00:00:00 2001
From: Jun Aruga <jaruga@r...>
Date: Wed, 2 Jun 2021 11:13:04 +0200
Subject: Skip a `File.atime` test randomly failing on Travis ppc64le.

See <https://bugs.ruby-lang.org/issues/17926>.
---
 spec/ruby/core/file/atime_spec.rb | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/spec/ruby/core/file/atime_spec.rb b/spec/ruby/core/file/atime_spec.rb
index 5663e47..047bb0e 100644
--- a/spec/ruby/core/file/atime_spec.rb
+++ b/spec/ruby/core/file/atime_spec.rb
@@ -22,6 +22,11 @@ describe "File.atime" do https://github.com/ruby/ruby/blob/trunk/spec/ruby/core/file/atime_spec.rb#L22
       if supports_subseconds != 0
         expected_time = Time.at(Time.now.to_i + 0.123456)
         File.utime expected_time, 0, @file
+        # FIXME: A random failing test on Travis ppc64le.
+        # https://bugs.ruby-lang.org/issues/17926
+        if ENV.key?('TRAVIS') && ENV['TRAVIS_CPU_ARCH'] == 'ppc64le'
+          skip '[ruby-core:17926] A random failure on Travis ppc64le'
+        end
         File.atime(@file).usec.should == expected_time.usec
       else
         File.atime(__FILE__).usec.should == 0
-- 
cgit v1.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]