Skip to content

Commit

Permalink
Drop more seeding in tests
Browse files Browse the repository at this point in the history
Related #1934
  • Loading branch information
ferhatelmas committed Feb 27, 2024
1 parent a0865af commit 9fc0be6
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 9fc0be6

Please sign in to comment.