diff --git a/tools/cache/main_test.go b/tools/cache/main_test.go index 16933a4b..abbfb0b5 100644 --- a/tools/cache/main_test.go +++ b/tools/cache/main_test.go @@ -17,13 +17,10 @@ limitations under the License. package cache import ( - "math/rand" "os" "testing" - "time" ) func TestMain(m *testing.M) { - rand.Seed(time.Now().UnixNano()) os.Exit(m.Run()) } diff --git a/tools/record/main_test.go b/tools/record/main_test.go index b3c74f25..58f81f74 100644 --- a/tools/record/main_test.go +++ b/tools/record/main_test.go @@ -17,13 +17,10 @@ limitations under the License. package record import ( - "math/rand" "os" "testing" - "time" ) func TestMain(m *testing.M) { - rand.Seed(time.Now().UnixNano()) os.Exit(m.Run()) } diff --git a/util/workqueue/main_test.go b/util/workqueue/main_test.go index 41274b2c..04d5817e 100644 --- a/util/workqueue/main_test.go +++ b/util/workqueue/main_test.go @@ -17,13 +17,10 @@ limitations under the License. package workqueue import ( - "math/rand" "os" "testing" - "time" ) func TestMain(m *testing.M) { - rand.Seed(time.Now().UnixNano()) os.Exit(m.Run()) }