summaryrefslogtreecommitdiff
path: root/socket_factory_test.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-02-27 23:18:32 +0300
committerValery Piashchynski <[email protected]>2020-02-27 23:18:32 +0300
commit8e161e73bb6d0852bc5b84f952435fa63bbb8403 (patch)
tree47ae8381cf55753a7cd7e00e9f60ee1f81106902 /socket_factory_test.go
parentc0b73233e2d668f24b8659060cb7a87a0a15d96d (diff)
NoError in Test_Unix_Broken
Diffstat (limited to 'socket_factory_test.go')
-rw-r--r--socket_factory_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/socket_factory_test.go b/socket_factory_test.go
index afd6df75..f6a2e234 100644
--- a/socket_factory_test.go
+++ b/socket_factory_test.go
@@ -377,8 +377,9 @@ func Test_Unix_Broken(t *testing.T) {
}()
defer func() {
+ time.Sleep(time.Second)
err = w.Stop()
- assert.Error(t, err)
+ assert.NoError(t, err)
}()
res, err := w.Exec(&Payload{Body: []byte("hello")})