15370: Disable "broken node" flag when testing with loopback.
authorTom Clegg <tom@curii.com>
Mon, 16 May 2022 05:18:51 +0000 (01:18 -0400)
committerTom Clegg <tom@curii.com>
Mon, 16 May 2022 05:18:51 +0000 (01:18 -0400)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

lib/controller/integration_test.go

index d65bb3149e6f0dd425e80d21f53131c5c5813465..9455eb575de3676ef0f064225b5583631ddff980 100644 (file)
@@ -76,13 +76,14 @@ func (s *IntegrationSuite) SetUpSuite(c *check.C) {
       CloudVMs:
         Enable: true
         Driver: loopback
       CloudVMs:
         Enable: true
         Driver: loopback
-        BootProbeCommand: id
+        BootProbeCommand: "rm -f /var/lock/crunch-run-broken"
         ProbeInterval: 1s
         PollInterval: 5s
         SyncInterval: 10s
         TimeoutIdle: 1s
         TimeoutBooting: 2s
       RuntimeEngine: singularity
         ProbeInterval: 1s
         PollInterval: 5s
         SyncInterval: 10s
         TimeoutIdle: 1s
         TimeoutBooting: 2s
       RuntimeEngine: singularity
+      CrunchRunArgumentsList: ["--broken-node-hook", "true"]
     RemoteClusters:
       z1111:
         Host: ` + hostport["z1111"] + `
     RemoteClusters:
       z1111:
         Host: ` + hostport["z1111"] + `