1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/ctdb/tests/complex
Martin Schwenke a7c5500765 ctdb-tests: Fix racy test for debugging hung scripts
Debugging can still be running when a monitor event times out and
scriptstatus output changes.

When debugging a hung script to a log file, write to a temporary file
and move the temporary file over the log file when done.  The test
then waits for the log file to appear.

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 Jul  3 08:19:23 CEST 2014 on sn-devel-104
2014-07-03 08:19:22 +02:00
..
scripts ctdb-tests: Improve tickle tests 2014-03-23 04:20:15 +01:00
11_ctdb_delip_removes_ip.sh tests: Rename ctdb_test_functions.bash to integration.bash 2012-04-27 15:40:43 +10:00
18_ctdb_reloadips.sh ctdb-tests: New test to ensure "ctdb reloadips" manipulates IPs correctly 2014-02-13 02:03:24 +01:00
31_nfs_tickle.sh ctdb-tests: Improve tickle tests 2014-03-23 04:20:15 +01:00
32_cifs_tickle.sh ctdb-tests: Improve tickle tests 2014-03-23 04:20:15 +01:00
33_gratuitous_arp.sh tests: Rename ctdb_test_functions.bash to integration.bash 2012-04-27 15:40:43 +10:00
34_nfs_tickle_restart.sh ctdb-tests: Try harder to avoid failures due to repeated recoveries 2014-06-19 23:41:13 +02:00
41_failover_ping_discrete.sh tests: Rename ctdb_test_functions.bash to integration.bash 2012-04-27 15:40:43 +10:00
42_failover_ssh_hostname.sh tests: Rename ctdb_test_functions.bash to integration.bash 2012-04-27 15:40:43 +10:00
43_failover_nfs_basic.sh tests/complex: Fix NFS tests to work with root_squash 2013-07-23 11:28:07 +10:00
44_failover_nfs_oneway.sh tests/complex: Fix NFS tests to work with root_squash 2013-07-23 11:28:07 +10:00
45_failover_nfs_kill.sh tests/complex: Fix NFS tests to work with root_squash 2013-07-23 11:28:07 +10:00
90_debug_hung_script.sh ctdb-tests: Fix racy test for debugging hung scripts 2014-07-03 08:19:22 +02:00
README tests: Update README files and add new README files where missing 2012-04-27 15:40:43 +10:00

Complex integration tests.  These need a real or virtual cluster.
That is, they can not be run against local daemons.