Actions
Bug #20198
closedFix flaky test railsRestartSuite.TestConfigReload in lib/controller
Status:
Resolved
Priority:
Normal
Assigned To:
Category:
API
Target version:
Story points:
0.5
Release:
Release relationship:
Auto
Description
Test seems to fail more often when other test suites have been running recently on the same machine.
Example from developer-run-tests-remainder: #3691 /consoleText
FAIL: rails_restart_test.go:33: railsRestartSuite.TestConfigReload oldhash 3d073c3d60d9f4951d5d1db1a3b3f6a776f2e0a0dca9b6a869ca88310d8fb5a3 newhash 57ea481af2d34b32a4b148446d6f6627ec6f5dea7c7f98d8b3fd83f5cc2f4767 waited 20.153174803s for rails to restart rails_restart_test.go:90: c.Check(string(body), check.Matches, `(?ms).*`+newhash+`.*`) ... value string = "" + ... "# HELP arvados_config_load_timestamp_seconds Time when config file was loaded.\n" + ... "# TYPE arvados_config_load_timestamp_seconds gauge\n" + ... "arvados_config_load_timestamp_seconds{sha256=\"3d073c3d60d9f4951d5d1db1a3b3f6a776f2e0a0dca9b6a869ca88310d8fb5a3\"} 1677612413.8657956\n" + ... "# HELP arvados_config_source_timestamp_seconds Timestamp of config file when it was loaded.\n" + ... "# TYPE arvados_config_source_timestamp_seconds gauge\n" + ... "arvados_config_source_timestamp_seconds{sha256=\"3d073c3d60d9f4951d5d1db1a3b3f6a776f2e0a0dca9b6a869ca88310d8fb5a3\"} 1677612371.5435643\n" + ... "# HELP arvados_version_running Indicated version is running.\n" + ... "# TYPE arvados_version_running gauge\n" + ... "arvados_version_running{version=\"unknown\"} 1\n" ... regex string = "(?ms).*57ea481af2d34b32a4b148446d6f6627ec6f5dea7c7f98d8b3fd83f5cc2f4767.*"
Actions