[arvados] updated: 2.5.0-116-g9fa741f37
git repository hosting
git at public.arvados.org
Thu Feb 16 22:26:38 UTC 2023
Summary of changes:
lib/crunchrun/crunchrun_test.go | 2 ++
1 file changed, 2 insertions(+)
via 9fa741f376df64f11b3af4e3fb7e4d30bcba795f (commit)
from ac351421506de537e44b1771fbd44103ef04a523 (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 9fa741f376df64f11b3af4e3fb7e4d30bcba795f
Author: Tom Clegg <tom at curii.com>
Date: Thu Feb 16 17:26:14 2023 -0500
19961: Fix races in tests.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom at curii.com>
diff --git a/lib/crunchrun/crunchrun_test.go b/lib/crunchrun/crunchrun_test.go
index 1a00e9d52..786f9410a 100644
--- a/lib/crunchrun/crunchrun_test.go
+++ b/lib/crunchrun/crunchrun_test.go
@@ -1157,6 +1157,7 @@ func (s *TestSuite) TestStopOnSignal(c *C) {
s.executor.runFunc = func() int {
s.executor.created.Stdout.Write([]byte("foo\n"))
s.runner.SigChan <- syscall.SIGINT
+ time.Sleep(10 * time.Second)
return 0
}
s.testStopContainer(c)
@@ -1167,6 +1168,7 @@ func (s *TestSuite) TestStopOnArvMountDeath(c *C) {
s.executor.created.Stdout.Write([]byte("foo\n"))
s.runner.ArvMountExit <- nil
close(s.runner.ArvMountExit)
+ time.Sleep(10 * time.Second)
return 0
}
s.runner.ArvMountExit = make(chan error)
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list