Reduce number of goroutines in test, to avoid hitting the hard limit of 8128

This commit is contained in:
Deluan 2022-11-26 15:28:30 -05:00 committed by Joe Stump
parent 39b5f2ca28
commit 9762803326
No known key found for this signature in database
GPG Key ID: 29151C3EC48A0EB9

View File

@ -53,7 +53,7 @@ var _ = Describe("GetInstance", func() {
})
It("only calls the constructor once when called concurrently", func() {
const maxCalls = 20000
const maxCalls = 8000
var numCalls int32
start := sync.WaitGroup{}
start.Add(1)