Skip to content

Commit 0046134

Browse files
authored
Drop more seeding in tests (#1942)
Related #1934
1 parent baec12a commit 0046134

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

core_test.go

-9
Original file line numberDiff line numberDiff line change
@@ -381,9 +381,6 @@ func TestCoreCopyObject(t *testing.T) {
381381
t.Skip("skipping functional tests for short runs")
382382
}
383383

384-
// Seed random based on current time.
385-
rand.Seed(time.Now().Unix())
386-
387384
// Instantiate new minio client object.
388385
c, err := NewCore(
389386
os.Getenv(serverEndpoint),
@@ -507,9 +504,6 @@ func TestCoreCopyObjectPart(t *testing.T) {
507504
t.Skip("skipping functional tests for short runs")
508505
}
509506

510-
// Seed random based on current time.
511-
rand.Seed(time.Now().Unix())
512-
513507
// Instantiate new minio client object.
514508
c, err := NewCore(
515509
os.Getenv(serverEndpoint),
@@ -663,9 +657,6 @@ func TestCorePutObject(t *testing.T) {
663657
t.Skip("skipping functional tests for short runs")
664658
}
665659

666-
// Seed random based on current time.
667-
rand.Seed(time.Now().Unix())
668-
669660
// Instantiate new minio client object.
670661
c, err := NewCore(
671662
os.Getenv(serverEndpoint),

0 commit comments

Comments
 (0)