ctdb-tests: Wait up to 30 seconds for process to be registered in ctdbd
commitff75f0836aef56476ec45a3bc8f3ca22c118e3a4
authorMartin Schwenke <martin@meltin.net>
Tue, 12 Sep 2017 01:51:19 +0000 (12 11:51 +1000)
committerMartin Schwenke <martins@samba.org>
Tue, 12 Sep 2017 10:23:18 +0000 (12 12:23 +0200)
tree24152f8e712bd6cbc2643b456b441d5403fbb4fe
parent3ff1b83ab7cb3a6ab94b87d0bf73857b731c869d
ctdb-tests: Wait up to 30 seconds for process to be registered in ctdbd

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13012

This avoids a potential race where the client is not properly
registered before "ctdb process-exists" is called.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tests/simple/07_ctdb_process_exists.sh