05e165283f
It seems the tests relied on time.Now(), which might cause some discrepancies in calculations. Use a fixed time.Now() rather than recalculating. As a sidefix, remove "Test" prefix from t.Run. These are unnecessary. Change-Id: I1de903fcf0fcf46fc8e3acf2463e17239b8e3cc6 |
||
---|---|---|
.. | ||
consoleapi | ||
consoleserver | ||
bandwidth.go | ||
diskspace.go | ||
service_test.go | ||
service.go |