From 6537ee832c43b767d23d77ae8ec398d6a796d273 Mon Sep 17 00:00:00 2001 From: Nipun Date: Tue, 9 Jan 2018 10:09:23 +0530 Subject: [PATCH] Incorporated review comments --- wal_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wal_test.go b/wal_test.go index 9aab9bfec..c4c0f0366 100644 --- a/wal_test.go +++ b/wal_test.go @@ -371,9 +371,9 @@ func TestWALRestoreCorrupted(t *testing.T) { testutil.Ok(t, w.cut()) - //Sleep 2 seconds to avoid error where cut and test "cases" function may write or - //truncate the file out of orders as "cases" are not synchronized with cut. - //Hopefully cut will complete by 2 seconds + // Sleep 2 seconds to avoid error where cut and test "cases" function may write or + // truncate the file out of orders as "cases" are not synchronized with cut. + // Hopefully cut will complete by 2 seconds. time.Sleep(2 * time.Second) testutil.Ok(t, w.LogSamples([]RefSample{{T: 3, V: 4}}))