1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/ctdb/tests/simple
Martin Schwenke 3a7c73ff7b ctdb-tests: Fix "setreclock" test
1. Waiting for generation to change isn't enough.  It now changes
   early in recovery and reclock might not have been set on all nodes.
   So wait until recovery is complete before checking reclock.

2. Use onnode -p when setting reclock on all nodes.  That will cause
   it to be set quickly on all nodes, to avoid the situation where the
   recovery master is the late in the list and resets the reclock on
   earlier nodes back to the old value.  This shouldn't matter if (1)
   is done but it can't hurt.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Michael Adam <obnox@samba.org>
2015-11-09 07:53:18 +01:00
..
scripts ctdb-tests: Drop simple uses of "ctdb -n all ..." from simple tests 2015-10-23 03:43:26 +02:00
00_ctdb_init.sh tests: Rename ctdb_test_functions.bash to integration.bash 2012-04-27 15:40:43 +10:00
00_ctdb_onnode.sh ctdb/tests/integration: Remove the time logging code 2013-12-05 00:40:37 +01:00
01_ctdb_version.sh ctdb-tests: Fix the tests for waf build 2014-06-20 23:38:10 +02:00
02_ctdb_listvars.sh tests: Rename ctdb_test_functions.bash to integration.bash 2012-04-27 15:40:43 +10:00
03_ctdb_getvar.sh tests: Rename ctdb_test_functions.bash to integration.bash 2012-04-27 15:40:43 +10:00
04_ctdb_setvar.sh tests: Rename ctdb_test_functions.bash to integration.bash 2012-04-27 15:40:43 +10:00
05_ctdb_listnodes.sh ctdb-tests: Extend regexp to match IPv6 addresses 2014-12-05 21:02:40 +01:00
06_ctdb_getpid.sh ctdb-tests: Drop simple uses of "ctdb -n all ..." from simple tests 2015-10-23 03:43:26 +02:00
07_ctdb_process_exists.sh tests: Rename ctdb_test_functions.bash to integration.bash 2012-04-27 15:40:43 +10:00
08_ctdb_isnotrecmaster.sh tests: Rename ctdb_test_functions.bash to integration.bash 2012-04-27 15:40:43 +10:00
09_ctdb_ping.sh tests: Rename ctdb_test_functions.bash to integration.bash 2012-04-27 15:40:43 +10:00
11_ctdb_ip.sh ctdb-tests: Change "ctdb ip -n all" to "ctdb ip all" 2015-10-23 03:43:26 +02:00
12_ctdb_getdebug.sh ctdb-tests: Drop simple uses of "ctdb -n all ..." from simple tests 2015-10-23 03:43:26 +02:00
13_ctdb_setdebug.sh ctdb-logging: Remove debug levels DEBUG_ALERT and DEBUG_CRIT 2014-10-28 05:42:04 +01:00
14_ctdb_statistics.sh ctdb-tests: Drop simple uses of "ctdb -n all ..." from simple tests 2015-10-23 03:43:26 +02:00
15_ctdb_statisticsreset.sh tests: Rename ctdb_test_functions.bash to integration.bash 2012-04-27 15:40:43 +10:00
16_ctdb_config_add_ip.sh ctdb-tests: Drop use of "ctdb delip -n all" in simple tests 2015-10-23 03:43:26 +02:00
17_ctdb_config_delete_ip.sh ctdb-tests: Clean up some tests where IP movement is checked 2014-09-23 08:06:12 +02:00
18_ctdb_reloadips.sh tests/simple: Fix the reloadips test to cope with changes to reloadips 2013-09-19 12:54:32 +10:00
20_delip_iface_gc.sh ctdb-tests: Change "ctdb ip -n all" to "ctdb ip all" 2015-10-23 03:43:26 +02:00
23_ctdb_moveip.sh ctdb-tests: Drop simple uses of "ctdb -n all ..." from simple tests 2015-10-23 03:43:26 +02:00
24_ctdb_getdbmap.sh tests: Rename ctdb_test_functions.bash to integration.bash 2012-04-27 15:40:43 +10:00
25_dumpmemory.sh ctdb-tests: Drop simple uses of "ctdb -n all ..." from simple tests 2015-10-23 03:43:26 +02:00
26_ctdb_config_check_error_on_unreachable_ctdb.sh tests/simple: Unreachable node test should wait for recovery to complete 2013-08-14 15:57:03 +10:00
27_ctdb_detach.sh ctdb-tests: Update integration tests to use ctdb -X 2014-12-05 21:02:40 +01:00
31_ctdb_disable.sh ctdb-tests: Clean up some tests where IP movement is checked 2014-09-23 08:06:12 +02:00
32_ctdb_enable.sh ctdb-tests: Clean up some tests where IP movement is checked 2014-09-23 08:06:12 +02:00
35_set_reclock.sh ctdb-tests: Fix "setreclock" test 2015-11-09 07:53:18 +01:00
41_ctdb_stop.sh ctdb-tests: Clean up some tests where IP movement is checked 2014-09-23 08:06:12 +02:00
42_ctdb_continue.sh ctdb-tests: Clean up some tests where IP movement is checked 2014-09-23 08:06:12 +02:00
43_stop_recmaster_yield.sh tests: Rename ctdb_test_functions.bash to integration.bash 2012-04-27 15:40:43 +10:00
51_ctdb_bench.sh ctdb-tests: Remove -q option to try_command_on_node 2013-11-27 18:46:15 +01:00
52_ctdb_fetch.sh ctdb-tests: Remove -q option to try_command_on_node 2013-11-27 18:46:15 +01:00
53_ctdb_transaction.sh ctdb-tests: Run transaction tests with externally imposed timeout 2015-07-01 04:18:28 +02:00
54_ctdb_transaction_recovery.sh ctdb-tests: Run transaction tests with externally imposed timeout 2015-07-01 04:18:28 +02:00
55_ctdb_ptrans.sh ctdb-tools/ctdb: New ptrans command 2013-11-27 18:46:16 +01:00
58_ctdb_restoredb.sh ctdb-tests: Add a test for ctdb restoredb 2014-07-07 16:06:39 +02:00
60_recoverd_missing_ip.sh ctdb-tests: Drop use of "ctdb delip -n all" in simple tests 2015-10-23 03:43:26 +02:00
70_recoverpdbbyseqnum.sh ctdb-tests/integration: Neaten up some of the persistent database tests 2013-11-27 18:46:16 +01:00
71_ctdb_wipedb.sh ctdb-tests: Check that ctdb wipedb cleans the database 2014-07-07 13:29:50 +02:00
72_update_record_persistent.sh ctdb-tests/integration: Neaten up some of the persistent database tests 2013-11-27 18:46:16 +01:00
73_tunable_NoIPTakeover.sh ctdb-tests/simple: User sleep_for() instead of sleep 2013-11-27 18:46:16 +01:00
75_readonly_records_basic.sh ctdb-tests: Update integration tests to use ctdb -X 2014-12-05 21:02:40 +01:00
76_ctdb_pdb_recovery.sh ctdb:tests:76_ctdb_pdb_recovery: change from using ctdb pstore to ctdb ptrans. 2013-11-28 07:31:13 +01:00
77_ctdb_db_recovery.sh ctdb-tests: CTDB tool should always be invoked as $CTDB instad of ctdb 2013-11-27 18:46:15 +01:00
80_ctdb_traverse.sh ctdb-tests: CTDB tool should always be invoked as $CTDB instad of ctdb 2013-11-27 18:46:15 +01:00
99_daemons_shutdown.sh ctdb/tests/integration: Update daemons shutdown pseudo-test 2013-12-05 00:43:12 +01:00
functions ctdb-scripts: Update important installed files to use build-time defaults 2015-09-15 08:56:21 +02:00
README tests: Update README files and add new README files where missing 2012-04-27 15:40:43 +10:00

Simple integration tests.  These can be run against a pool of CTDB
daemons running on the local machine - aka "local daemons".