diff options
author | Vladimir Lavor <vlavor@cisco.com> | 2019-04-04 13:37:53 +0200 |
---|---|---|
committer | Vladimir Lavor <vlavor@cisco.com> | 2019-04-04 13:44:42 +0200 |
commit | 6fe52d72255456e7d73df9d2f6b4a8f724ed447d (patch) | |
tree | 905e2203d9daf1f45db02466c36fb4e6f167f948 /core/connection_test.go | |
parent | 345201eedce4cefae4db6914067a34000a7f978f (diff) |
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 <vlavor@cisco.com>
Diffstat (limited to 'core/connection_test.go')
-rw-r--r-- | core/connection_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
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()) |