From 6fe52d72255456e7d73df9d2f6b4a8f724ed447d Mon Sep 17 00:00:00 2001 From: Vladimir Lavor Date: Thu, 4 Apr 2019 13:37:53 +0200 Subject: socketclient: wait for socket to be created domain sockets are checked/watched for existence in same manner as shm prefixes also the connection attempts and timeout in between can be configured for async-connect Change-Id: I084a3efaefea10d106866968deab90d3fda77cfe Signed-off-by: Vladimir Lavor --- core/connection_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/connection_test.go') diff --git a/core/connection_test.go b/core/connection_test.go index 929f468..843c5ea 100644 --- a/core/connection_test.go +++ b/core/connection_test.go @@ -78,7 +78,7 @@ func TestAsyncConnection(t *testing.T) { defer ctx.teardownTest() ctx.conn.Disconnect() - conn, statusChan, err := core.AsyncConnect(ctx.mockVpp) + conn, statusChan, err := core.AsyncConnect(ctx.mockVpp, core.DefaultMaxReconnectAttempts, core.DefaultReconnectInterval) ctx.conn = conn Expect(err).ShouldNot(HaveOccurred()) -- cgit 1.2.3-korg