Costanalyzer bugfix: when a collection uuid is supplied, write the csv
authorWard Vandewege <ward@curii.com>
Thu, 10 Dec 2020 15:33:57 +0000 (10:33 -0500)
committerWard Vandewege <ward@curii.com>
Thu, 10 Dec 2020 15:33:57 +0000 (10:33 -0500)
commit6f27bbc6e8797f5faeeb110fa7702900a09813e9
tree6719dfbea8f5f11ae601c9b2721383031c3ce290
parent91ef36eeea827569ec3745696e233aad0f8063aa
Costanalyzer bugfix: when a collection uuid is supplied, write the csv
files with the name of the associated container request uuid, not the
collection uuid. Also change tests to use a proper temporary directory
for the outputs, and do not reuse that directory between tests (which
hid the bug this commit fixed).

refs #17187

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>
lib/costanalyzer/costanalyzer.go
lib/costanalyzer/costanalyzer_test.go