Skip to content

Instantly share code, notes, and snippets.

@hanachin
Last active April 22, 2019 09:28
Show Gist options
  • Save hanachin/1529469a167529714023e204d16dee0d to your computer and use it in GitHub Desktop.
Save hanachin/1529469a167529714023e204d16dee0d to your computer and use it in GitHub Desktop.
システムの時刻がUTC+09:00で18:28にテスト実行すると落ちる、タイムゾーンをUTC+00:00付近に移動すると、直る
% ruby -v
ruby 2.7.0dev (2019-04-22 trunk 67659) [x86_64-darwin18]
% git rev-parse HEAD
9a08215e790735485353bafd4f5f3053bd8333e3
% bin/rails test test/functional/issues_controller_test.rb:358 > log.txt
Run options: --seed 18928
# Running:
F
Failure:
IssuesControllerTest#test_index_grouped_by_created_on [/Users/sei/src/github.com/redmine/redmine/test/functional/issues_controller_test.rb:367]:
<2> expected but was
<>..
Expected 0 to be >= 1.
bin/rails test test/functional/issues_controller_test.rb:358
Finished in 1.308850s, 0.7640 runs/s, 2.2921 assertions/s.
1 runs, 3 assertions, 1 failures, 0 errors, 0 skips
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment