[arvados] updated: 2.6.0-473-g9cb1bb559
git repository hosting
git at public.arvados.org
Fri Aug 11 17:31:49 UTC 2023
Summary of changes:
lib/dispatchcloud/scheduler/run_queue_test.go | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
via 9cb1bb55938c735a479ea9631393eac26bba11cc (commit)
from e4d51d4e25376c44d200eea30a6d2b90d073a0bf (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 9cb1bb55938c735a479ea9631393eac26bba11cc
Author: Tom Clegg <tom at curii.com>
Date: Fri Aug 11 13:31:29 2023 -0400
20457: Update test to match new unlock-at-quota behavior.
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom at curii.com>
diff --git a/lib/dispatchcloud/scheduler/run_queue_test.go b/lib/dispatchcloud/scheduler/run_queue_test.go
index 4359ae03b..a8df944b4 100644
--- a/lib/dispatchcloud/scheduler/run_queue_test.go
+++ b/lib/dispatchcloud/scheduler/run_queue_test.go
@@ -249,12 +249,12 @@ func (*SchedulerSuite) TestShutdownAtQuota(c *check.C) {
case 1, 2:
// Can't create a type3 node for ctr3, so we
// shutdown an unallocated node (type2), and
- // unlock both containers.
+ // unlock the 2nd-in-line container, but not
+ // the 1st-in-line container.
c.Check(pool.starts, check.HasLen, 0)
c.Check(pool.shutdowns, check.Equals, 1)
c.Check(pool.creates, check.HasLen, 0)
c.Check(queue.StateChanges(), check.DeepEquals, []test.QueueStateChange{
- {UUID: test.ContainerUUID(3), From: "Locked", To: "Queued"},
{UUID: test.ContainerUUID(2), From: "Locked", To: "Queued"},
})
case 3:
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list