From 759b4d1eec9bc6cfe11bce679cec72a95c1c8317 Mon Sep 17 00:00:00 2001 From: Kyle Evans Date: Tue, 5 May 2020 17:35:17 -0500 Subject: [PATCH] archiver: tests: no underscore in var name, ungh --- services/archiver/archiver_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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