[ARVADOS] updated: 2.1.0-2440-g766d15a57
Git user
git at public.arvados.org
Mon May 9 14:42:59 UTC 2022
Summary of changes:
lib/controller/rails_restart_test.go | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
via 766d15a572d9e8a023e2877f9171422af530efa1 (commit)
from 0dab89df8040f203a33bc1922df0ff893791def7 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 766d15a572d9e8a023e2877f9171422af530efa1
Author: Tom Clegg <tom at curii.com>
Date: Mon May 9 10:42:34 2022 -0400
18794: Increase timeout and logging for rails restart test.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom at curii.com>
diff --git a/lib/controller/rails_restart_test.go b/lib/controller/rails_restart_test.go
index bb307d321..5db37c4b8 100644
--- a/lib/controller/rails_restart_test.go
+++ b/lib/controller/rails_restart_test.go
@@ -75,7 +75,8 @@ func (s *railsRestartSuite) TestConfigReload(c *check.C) {
// Wait for RailsAPI's 1 Hz reload_config thread to poll and
// hit restart.txt
- for deadline := time.Now().Add(10 * time.Second); time.Now().Before(deadline); time.Sleep(time.Second) {
+ pollstart := time.Now()
+ for deadline := time.Now().Add(20 * time.Second); time.Now().Before(deadline); time.Sleep(time.Second) {
resp, err = hc.Do(req)
c.Assert(err, check.IsNil)
c.Check(resp.StatusCode, check.Equals, http.StatusOK)
@@ -85,5 +86,6 @@ func (s *railsRestartSuite) TestConfigReload(c *check.C) {
break
}
}
+ c.Logf("waited %s for rails to restart", time.Now().Sub(pollstart))
c.Check(string(body), check.Matches, `(?ms).*`+newhash+`.*`)
}
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list