Skip to content

Commit

Permalink
Merge pull request #3873 from nats-io/diskio-test
Browse files Browse the repository at this point in the history
[FIXED] Adjusted test to correspond to new limit of 1024.
  • Loading branch information
derekcollison committed Feb 16, 2023
2 parents 98e6b20 + 32b5ec1 commit b3b9e88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/norace_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4084,7 +4084,7 @@ func TestNoRaceJetStreamConsumerFileStoreConcurrentDiskIO(t *testing.T) {
gmp := runtime.GOMAXPROCS(32)
defer runtime.GOMAXPROCS(gmp)

maxT := debug.SetMaxThreads(64)
maxT := debug.SetMaxThreads(1050) // 1024 now
defer debug.SetMaxThreads(maxT)

fs, err := newFileStore(FileStoreConfig{StoreDir: storeDir}, StreamConfig{Name: "MT", Storage: FileStorage})
Expand Down

0 comments on commit b3b9e88

Please sign in to comment.