ctdb-tests: Try to connect few times before failing in comm_client_test
authorAmitay Isaacs <amitay@gmail.com>
Tue, 10 Nov 2015 03:49:30 +0000 (14:49 +1100)
committerAmitay Isaacs <amitay@samba.org>
Wed, 11 Nov 2015 02:21:22 +0000 (03:21 +0100)
commit85a2a2c9119d75b7bd502c46d1fec85d5f7ba943
tree1805cbc1ebb89406fd9b64e6a74844f1c5c7e00e
parent42d5b06d7ab2226598e98ebf3df94723f2f9b093
ctdb-tests: Try to connect few times before failing in comm_client_test

cunit/comm_test_002.sh requires that the comm_server_test is started
before comm_client_test.  Since comm_server_test is started in background,
it's possible for comm_client_test to run before comm_server_test has
bound to the unix domain socket.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
ctdb/tests/src/comm_client_test.c