seek4science / seek

For finding, sharing and exchanging Data, Models, Simulations and Processes in Science.
http://www.seek4science.org
BSD 3-Clause "New" or "Revised" License
74 stars 52 forks source link

Random failures in the schedule_test.rb integration test #1917

Open stuzart opened 1 month ago

stuzart commented 1 month ago

Happens quite frequently:

ScheduleTest#test_news_feed_refresh_changes_with_config [/home/runner/work/seek/seek/test/integration/schedule_test.rb:101]
Minitest::Assertion: Expected: [731 minutes]
  Actual: [30 minutes]
F
Failure:
ScheduleTest#test_should_offset_daily_job_runtime_by_configured_amount [/home/runner/work/seek/seek/test/integration/schedule_test.rb:119]
Minitest::Assertion: Expected: [4 hours, {:at=>"1:43am"}]
  Actual: [4 hours, {:at=>"1:00am"}]
stuzart commented 1 month ago

caused by config caching.

stuzart commented 3 weeks ago

Fix didn't work, failed again: https://github.com/seek4science/seek/actions/runs/9500183070/job/26182660279