archiver: tests: no underscore in var name, ungh

This commit is contained in:
Kyle Evans 2020-05-05 17:35:17 -05:00
parent 59786fe125
commit 759b4d1eec
1 changed files with 2 additions and 2 deletions

View File

@ -132,8 +132,8 @@ func TestArchive_Basic(t *testing.T) {
ArchiveRepository(zipReq) ArchiveRepository(zipReq)
// Sleep two seconds to make sure the queue doesn't change. // Sleep two seconds to make sure the queue doesn't change.
two_seconds, _ := time.ParseDuration("2s") twoSeconds, _ := time.ParseDuration("2s")
time.Sleep(two_seconds) time.Sleep(twoSeconds)
assert.Equal(t, 3, len(archiveInProgress)) assert.Equal(t, 3, len(archiveInProgress))
// Release them all, they'll then stall at the archiveQueueReleaseCond while // Release them all, they'll then stall at the archiveQueueReleaseCond while