Skip to content

Commit

Permalink
Fixed test to correspond to new limit of 1024.
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Collison <derek@nats.io>
  • Loading branch information
derekcollison committed Feb 16, 2023
1 parent 345496f commit 32b5ec1
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 32b5ec1

Please sign in to comment.