From 7bafbce8168271f9d9c2f4c263d129b8b8b0b7b8 Mon Sep 17 00:00:00 2001 From: Deluan Date: Sat, 26 Nov 2022 15:28:30 -0500 Subject: [PATCH] Reduce number of goroutines in test, to avoid hitting the hard limit of 8128 --- utils/singleton/singleton_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/singleton/singleton_test.go b/utils/singleton/singleton_test.go index 57667695..b187731a 100644 --- a/utils/singleton/singleton_test.go +++ b/utils/singleton/singleton_test.go @@ -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)