summaryrefslogtreecommitdiff
path: root/static_pool_test.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-07 15:37:21 +0300
committerWolfy-J <[email protected]>2018-06-07 15:37:21 +0300
commitef26e854480562de15edffe3b38f86bc22bedd76 (patch)
tree258d89fb103ae184a87dcb47de42a8f275582866 /static_pool_test.go
parent33040a9b1bce85e174ee68f6ba8c73b1dbf43b56 (diff)
server failure
Diffstat (limited to 'static_pool_test.go')
-rw-r--r--static_pool_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/static_pool_test.go b/static_pool_test.go
index b7e5b0dd..58e208d5 100644
--- a/static_pool_test.go
+++ b/static_pool_test.go
@@ -185,7 +185,7 @@ func Test_StaticPool_Broken_FromOutside(t *testing.T) {
destructed := make(chan interface{})
p.Observe(func(e int, ctx interface{}) {
- if e == EventWorkerCreate {
+ if e == EventWorkerConstruct {
close(destructed)
}
})