[arvados] updated: 2.5.0-281-gf94ac6e8a
git repository hosting
git at public.arvados.org
Mon Mar 13 14:58:32 UTC 2023
Summary of changes:
go.mod | 2 +
go.sum | 6 ++
lib/controller/rpc/conn.go | 2 +
lib/diagnostics/cmd.go | 2 +
lib/dispatchcloud/cmd.go | 4 +
lib/dispatchcloud/dispatcher_test.go | 4 +-
sdk/go/arvados/client.go | 102 ++++++++++++++++++-------
sdk/go/arvados/client_test.go | 122 ++++++++++++++++++++++++++++++
services/keep-balance/balance_run_test.go | 5 +-
services/ws/permission.go | 4 +-
services/ws/permission_test.go | 6 +-
services/ws/service.go | 2 +
12 files changed, 230 insertions(+), 31 deletions(-)
via f94ac6e8ad9aec3c781cd71b72fcc5e2c1cedd8d (commit)
via 9bf4ff58bd13f456e3ee3aa229ca4ab1e98bcae4 (commit)
via 47d1bc31bf9ee554665881c562ca2dea9acf9e22 (commit)
via 2a6c82d3e9a20e0b5ac2267f45e89f8d009b0f2c (commit)
via 4aaff900e146c20c9e586223823e8661ce40d7f8 (commit)
via 785469f3ca5d79f64f26a88f7499e95b88d811cd (commit)
via 4efbafc3b1b2f3a2b715a11804c4858ee16445de (commit)
from 690416339ad740e35c680d2055f4ba223b9d0bf5 (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 f94ac6e8ad9aec3c781cd71b72fcc5e2c1cedd8d
Merge: 690416339 9bf4ff58b
Author: Tom Clegg <tom at curii.com>
Date: Mon Mar 13 10:57:40 2023 -0400
Merge branch '19972-go-client-retry'
closes #19972
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom at curii.com>
commit 9bf4ff58bd13f456e3ee3aa229ca4ab1e98bcae4
Author: Tom Clegg <tom at curii.com>
Date: Mon Mar 13 10:56:39 2023 -0400
19972: Fix racy test case.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom at curii.com>
diff --git a/services/keep-balance/balance_run_test.go b/services/keep-balance/balance_run_test.go
index fb1c74d2f..aeed517d0 100644
--- a/services/keep-balance/balance_run_test.go
+++ b/services/keep-balance/balance_run_test.go
@@ -663,7 +663,10 @@ func (s *runSuite) TestRunForever(c *check.C) {
// first run should also send 4 empty trash lists at
// startup. We should complete all four runs in much less than
// a second.
- for t0 := time.Now(); pullReqs.Count() < 16 && time.Since(t0) < 10*time.Second; {
+ for t0 := time.Now(); time.Since(t0) < 10*time.Second; {
+ if pullReqs.Count() >= 16 && trashReqs.Count() == pullReqs.Count()+4 {
+ break
+ }
time.Sleep(time.Millisecond)
}
cancel()
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list