From 2db6a31c163eb132e9ae613f5ccb9f49d31301ed Mon Sep 17 00:00:00 2001 From: giongto35 Date: Sun, 12 May 2019 17:55:03 +0800 Subject: [PATCH] Add sleep --- cmd/main_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/main_test.go b/cmd/main_test.go index 1d86face..e8deb004 100644 --- a/cmd/main_test.go +++ b/cmd/main_test.go @@ -491,6 +491,7 @@ func TestRejoinNoOverlordMultiple(t *testing.T) { t.Fail() } } + time.Sleep(time.Second) fmt.Println("Num goRoutine should be small: ", runtime.NumGoroutine()) fmt.Println("Done")