Skip to content

Commit

Permalink
Drop more seeding in tests
Browse files Browse the repository at this point in the history
Related minio#1934
  • Loading branch information
ferhatelmas committed Feb 27, 2024
1 parent a0865af commit 743465e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
1 change: 1 addition & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ linters:
- gosimple
- unused
- gocritic
- staticcheck

issues:
exclude-use-default: false
Expand Down
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 743465e

Please sign in to comment.