summaryrefslogtreecommitdiff
path: root/socket_factory_test.go
diff options
context:
space:
mode:
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")})