10979: Check for orphans only once at startup. Add missing Lock() in
authorTom Clegg <tom@curoverse.com>
Fri, 24 Feb 2017 21:46:46 +0000 (16:46 -0500)
committerTom Clegg <tom@curoverse.com>
Fri, 24 Feb 2017 21:46:46 +0000 (16:46 -0500)
commit17f4a03d71d8d6130f796d61fa49b8480bf555b6
tree0e7617a500023cfc3ad7cda8f9f8f7443166ca52
parentdccfd637a120e10166a4d9f6b75381c69121f24c
10979: Check for orphans only once at startup. Add missing Lock() in
squeue checker. Avoid holding mtx while waiting for API response.
Ensure RunContainer actually gets called in test case.

refs #10979
sdk/go/arvadostest/fixtures.go
sdk/go/dispatch/dispatch.go
sdk/go/dispatch/dispatch_test.go
services/crunch-dispatch-slurm/crunch-dispatch-slurm.go
services/crunch-dispatch-slurm/squeue.go