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