Skip to content

Commit

Permalink
Drop more seeding in tests (#1942)
Browse files Browse the repository at this point in the history
Related #1934
  • Loading branch information
ferhatelmas authored Feb 28, 2024
1 parent baec12a commit 0046134
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions core_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down Expand Up @@ -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),
Expand Down Expand Up @@ -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),
Expand Down

0 comments on commit 0046134

Please sign in to comment.