14324: Remove context from interface, use Stop() instead
authorPeter Amstutz <pamstutz@veritasgenetics.com>
Thu, 10 Jan 2019 18:33:50 +0000 (13:33 -0500)
committerPeter Amstutz <pamstutz@veritasgenetics.com>
Thu, 10 Jan 2019 18:33:50 +0000 (13:33 -0500)
commit855a0afbc604487ddaedaed0cc1a4ad6da34b602
tree2eae9330977de106b2f69c633516fd8465915215
parent1b2a4c98249e3a46242f7d10c00a70feeeb2a843
14324: Remove context from interface, use Stop() instead

Remove 'Context' passed into methods of the InstanceSet interface,
instead the AzureInstanceSet creates its own cancellable background
context.  The Stop() method now cancels the context and waits for any
outstanding cloud driver work to complete before returning.

* Fix test
* Document how to run individual test cases against real cloud
* ManageBlobs runs periodically in the background
* Logging cleaned up

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz@veritasgenetics.com>
lib/cloud/azure.go
lib/cloud/azure_test.go
lib/cloud/interfaces.go
lib/dispatchcloud/dispatcher_test.go
lib/dispatchcloud/instance_set_proxy.go
lib/dispatchcloud/ssh_executor/executor.go
lib/dispatchcloud/test/lame_instance_set.go
lib/dispatchcloud/test/stub_driver.go
lib/dispatchcloud/worker/pool.go
lib/dispatchcloud/worker/worker.go