16795: Fix false-positive bug detection.
authorTom Clegg <tom@tomclegg.ca>
Tue, 1 Sep 2020 20:22:13 +0000 (16:22 -0400)
committerTom Clegg <tom@tomclegg.ca>
Tue, 1 Sep 2020 20:22:13 +0000 (16:22 -0400)
commit76182f26191190c405077106becdde149c0ad7c5
tree966c6f217b36b84e0aee4007eaeec71c939d2f0f
parentbcee68ee657af1591d1ae0624e2d12029b0b92d5
16795: Fix false-positive bug detection.

The dispatcher simulation test occasionally fails with this error when
a crunch-run stub is killed, and the same container is rescheduled on
the same node before the first attempt's startup-phase sleep expires:

    bugf("[test] StubDriver bug or caller bug: pid %d exiting, running[%s]==%d", pid, uuid, svm.running[uuid])
... Error: [test] StubDriver bug or caller bug: pid 9 exiting, running[zzzzz-dz642-000000000000184]==0

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@tomclegg.ca>
lib/dispatchcloud/test/stub_driver.go