From 9fc0be698071b472207c47515647f1fdc8ab74e7 Mon Sep 17 00:00:00 2001 From: ferhat elmas Date: Tue, 27 Feb 2024 23:58:08 +0100 Subject: [PATCH] Drop more seeding in tests Related #1934 --- core_test.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/core_test.go b/core_test.go index 2e5b96d0d..f722e3846 100644 --- a/core_test.go +++ b/core_test.go @@ -381,9 +381,6 @@ func TestCoreCopyObject(t *testing.T) { t.Skip("skipping functional tests for short runs") } - // Seed random based on current time. - rand.Seed(time.Now().Unix()) - // Instantiate new minio client object. c, err := NewCore( os.Getenv(serverEndpoint), @@ -507,9 +504,6 @@ func TestCoreCopyObjectPart(t *testing.T) { t.Skip("skipping functional tests for short runs") } - // Seed random based on current time. - rand.Seed(time.Now().Unix()) - // Instantiate new minio client object. c, err := NewCore( os.Getenv(serverEndpoint), @@ -663,9 +657,6 @@ func TestCorePutObject(t *testing.T) { t.Skip("skipping functional tests for short runs") } - // Seed random based on current time. - rand.Seed(time.Now().Unix()) - // Instantiate new minio client object. c, err := NewCore( os.Getenv(serverEndpoint),