Reduce number of goroutines in test, to avoid hitting the hard limit of 8128
This commit is contained in:
parent
a69a31a3bf
commit
7bafbce816
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue