summaryrefslogtreecommitdiffstats
path: root/ctdb/include/ctdb_private.h
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2014-02-28 15:54:05 +1100
committerAmitay Isaacs <amitay@samba.org>2014-03-23 04:20:15 +0100
commitbafb9151ccb5722df36f9ba168716f4f4fa01cdc (patch)
tree2d232e021053cf0298cc0fd529feb6e5bc64a8b3 /ctdb/include/ctdb_private.h
parent058e14cdb0b6eb2e999dca599961ae6734105f99 (diff)
downloadsamba-bafb9151ccb5722df36f9ba168716f4f4fa01cdc.tar.gz
samba-bafb9151ccb5722df36f9ba168716f4f4fa01cdc.tar.xz
samba-bafb9151ccb5722df36f9ba168716f4f4fa01cdc.zip
ctdb-tests: Improve tickle tests
It is hard to diagnose failures in the NFS tickle test because there's no way of telling if the test node doesn't have the tickle or if it didn't get propagated. Factor out check_tickles() into local.bash and give it some parameters. Have the NFS test call it first to ensure the tickle has been registered. Then use new function check_tickles_all() to ensure the tickle has been propagated to all nodes. Give this a bit of extra time (double the timeout) just in case we're racing with the update. Add a useful comment to the CIFS test so that I stop asking myself how the test could ever have worked reliably. :-) Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com> Pair-programmed-with: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'ctdb/include/ctdb_private.h')
0 files changed, 0 insertions, 0 deletions