ctdb-tests: Process-exists unit tests should wait until PID is registered
commit88752411daf64af59bd00c60c36ca1ced3c044f0
authorMartin Schwenke <martin@meltin.net>
Wed, 25 Oct 2017 01:15:23 +0000 (25 12:15 +1100)
committerKarolin Seeger <kseeger@samba.org>
Wed, 1 Nov 2017 09:49:26 +0000 (1 10:49 +0100)
treec80a9a7c8e1c42bdfb3e660ffb42a0cfac4b2608
parent020afdc685faf27941c4ba14fe532220db635acc
ctdb-tests: Process-exists unit tests should wait until PID is registered

Otherwise the client registration can race with the check in the test.

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

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Thu Oct 26 13:32:24 CEST 2017 on sn-devel-144

(cherry picked from commit 0e8b781e0740310d251bf1fa7db7a467d4f7f9b5)
ctdb/tests/tool/ctdb.process-exists.001.sh
ctdb/tests/tool/ctdb.process-exists.002.sh
ctdb/tests/tool/ctdb.process-exists.003.sh