Merge remote-tracking branch 'origin/master' into 3605-improved-dashboard
[arvados.git] / services / keepstore / volume_unix_test.go
index 7a1c06c8161e0c4c8d9e8a8681aa7a510371643b..d6aeac618582a3c555d92b1515654fc8386a6795 100644 (file)
@@ -119,7 +119,11 @@ func TestPutTouch(t *testing.T) {
        }
        // Sleep for 1s, then put the block again.  The volume
        // should report a more recent mtime.
+       //
        // TODO(twp): this would be better handled with a mock Time object.
+       // Alternatively, set the mtime manually to some moment in the past
+       // (maybe a v.SetMtime method?)
+       //
        time.Sleep(time.Second)
        if err := v.Put(TEST_HASH, TEST_BLOCK); err != nil {
                t.Error(err)