11583: 13100: Fix memory leak in test suite.
authorTom Clegg <tclegg@veritasgenetics.com>
Thu, 15 Mar 2018 16:45:52 +0000 (12:45 -0400)
committerTom Clegg <tclegg@veritasgenetics.com>
Thu, 15 Mar 2018 16:49:33 +0000 (12:49 -0400)
commit304a807e24363f3c38949b2da10c500f338d08b0
tree065d9591d3e77f3db72786a99a386dfff2efb188
parentbc27c169f78471a21f6f5c35a879e4b57afa0e22
11583: 13100: Fix memory leak in test suite.

Something (an unterminated goroutine?) holds a reference to the keep
client, which (in the test suite) holds a reference to the last block
it wrote. Releasing the reference to the block reduces test suite
memory use by about 2.6 GB.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>
services/crunch-run/crunchrun_test.go
services/crunch-run/logging_test.go
services/crunch-run/upload_test.go