summaryrefslogtreecommitdiff
path: root/pkg/pool/supervisor_test.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-02-03 23:59:38 +0300
committerValery Piashchynski <[email protected]>2021-02-03 23:59:38 +0300
commit46206991fb841d13f4554b3269236c31d08bc78c (patch)
tree8dddddac6b1820e273cb07489554950c035de9c9 /pkg/pool/supervisor_test.go
parentf48602882cf3f7ab8f7bbecde0fc63ad3e0f29a6 (diff)
Increase channel cap for the tests
Diffstat (limited to 'pkg/pool/supervisor_test.go')
-rw-r--r--pkg/pool/supervisor_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/pool/supervisor_test.go b/pkg/pool/supervisor_test.go
index c67d5d91..cbe9f5cb 100644
--- a/pkg/pool/supervisor_test.go
+++ b/pkg/pool/supervisor_test.go
@@ -210,7 +210,7 @@ func TestSupervisedPool_MaxMemoryReached(t *testing.T) {
},
}
- block := make(chan struct{}, 1)
+ block := make(chan struct{}, 10)
listener := func(event interface{}) {
if ev, ok := event.(events.PoolEvent); ok {
if ev.Event == events.EventMaxMemory {