When testing make the time taken for some operations more obvious.
authorMartin Schwenke <martin@meltin.net>
Mon, 6 Jul 2009 06:39:08 +0000 (16:39 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Tue, 7 Jul 2009 23:43:45 +0000 (09:43 +1000)
commit4bd8e0d87a92aab68c4f7837fd5b35839f8b906d
tree183c5c6dfb590267f63008cf50538b5cb7d20fc0
parent21a891cb79ba90c10fd6f4d6a8821303c9c72ad2
When testing make the time taken for some operations more obvious.

If wait_until() does not timeout, print the time taken for the command
to succeed.

Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 8d12fe61eb59a4a611dd5950506d14bd4891075d)
ctdb/tests/scripts/ctdb_test_functions.bash