Project

General

Profile

Actions

Bug #16189

closed

Some rubygems tests failed when run across 0:00 UTC

Added by znz (Kazuhiro NISHIYAMA) over 4 years ago. Updated over 4 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:95153]

Description

Some tests failed because https://github.com/ruby/ruby/blob/649a64ae29318501472f74798a12eb60871ab990/lib/rubygems/specification.rb#L106-L107 set TODAY as 2019-09-29, and tests run on 2019-09-30.

https://rubyci.org/logs/rubyci.s3.amazonaws.com/solaris11s-sunc/ruby-master/log/20190929T232504Z.fail.html.gz

  1) Failure:
TestGemSpecification#test_to_ruby_for_cache [/export/home/rubyci/chkbuild-sunc/tmp/build/20190929T232504Z/ruby/test/rubygems/test_gem_specification.rb:2518]:
--- expected
+++ actual
@@ -18,7 +18,7 @@
 " +
 "  s.authors = [\"A User\".freeze]
 " +
-"  s.date = \"2019-09-29\"
+"  s.date = \"2019-09-30\"
 " +
 "  s.description = \"This is a test description\".freeze
 " +


  2) Failure:
TestGemSpecification#test_metadata_specs [/export/home/rubyci/chkbuild-sunc/tmp/build/20190929T232504Z/ruby/test/rubygems/test_gem_specification.rb:3651]:
--- expected
+++ actual
@@ -20,7 +20,7 @@
 " +
 "  s.authors = [\"A User\".freeze]
 " +
-"  s.date = \"2019-09-30\"
+"  s.date = \"2019-09-29\"
 " +
 "  s.description = \"This is a test description\".freeze
 " +


  3) Failure:
TestGemSpecification#test_to_ruby [/export/home/rubyci/chkbuild-sunc/tmp/build/20190929T232504Z/ruby/test/rubygems/test_gem_specification.rb:2441]:
--- expected
+++ actual
@@ -18,7 +18,7 @@
 " +
 "  s.authors = [\"A User\".freeze]
 " +
-"  s.date = \"2019-09-29\"
+"  s.date = \"2019-09-30\"
 " +
 "  s.description = \"This is a test description\".freeze
 " +


  4) Failure:
TestGemSpecification#test_to_ruby_fancy [/export/home/rubyci/chkbuild-sunc/tmp/build/20190929T232504Z/ruby/test/rubygems/test_gem_specification.rb:2581]:
--- expected
+++ actual
@@ -22,7 +22,7 @@
 " +
 "  s.authors = [\"A User\".freeze]
 " +
-"  s.date = \"2019-09-29\"
+"  s.date = \"2019-09-30\"
 " +
 "  s.description = \"This is a test description\".freeze
 " +


  5) Failure:
TestGemSpecification#test_self_load_legacy_ruby [/export/home/rubyci/chkbuild-sunc/tmp/build/20190929T232504Z/ruby/test/rubygems/test_gem_specification.rb:1038]:
Expected: 2019-09-29 00:00:00 UTC
  Actual: 2019-09-30 00:00:00 UTC

  6) Failure:
TestGemSpecification#test_to_ruby_with_rsa_key [/export/home/rubyci/chkbuild-sunc/tmp/build/20190929T232504Z/ruby/test/rubygems/test_gem_specification.rb:2474]:
--- expected
+++ actual
@@ -18,7 +18,7 @@
 " +
 "  s.authors = [\"A User\".freeze]
 " +
-"  s.date = \"2019-09-29\"
+"  s.date = \"2019-09-30\"
 " +
 "  s.description = \"This is a test description\".freeze
 " +


  7) Failure:
TestGemSpecification#test_date [/export/home/rubyci/chkbuild-sunc/tmp/build/20190929T232504Z/ruby/test/rubygems/test_gem_specification.rb:1697]:
Expected: 2019-09-29 00:00:00 UTC
  Actual: 2019-09-30 00:00:00 UTC

Updated by jeremyevans0 (Jeremy Evans) over 4 years ago

  • Status changed from Open to Closed

This appears to be fixed by 6f522455bf801acefcd2ade0b2e4a2fef3cb70a4.

Actions

Also available in: Atom PDF

Like0
Like0