From fec11c00db27b3b31336af84e6ad7257d961f69b Mon Sep 17 00:00:00 2001 From: Caleb Foust Date: Thu, 21 Sep 2023 04:56:29 -0400 Subject: [PATCH] fix: maybe fix CI test --- pkg/io/ws/ws_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/io/ws/ws_test.go b/pkg/io/ws/ws_test.go index df1696e9..cddfd04e 100644 --- a/pkg/io/ws/ws_test.go +++ b/pkg/io/ws/ws_test.go @@ -37,6 +37,9 @@ func TestServer(t *testing.T) { Serve[[]byte](ctx, socketPath, RawProtocol, &echo) }() + // wait for server to start up + time.Sleep(200 * time.Millisecond) + ok := make(chan bool, 1) c, err := Connect(ctx, RawProtocol, socketPath) assert.NoError(t, err)