1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/ctdb/tests/UNIT/cunit
Martin Schwenke 667265b685 ctdb-tests: Limit red-black tree test to 5s of random inserts
rb_test_001.sh runs for 60s even though rb_tree.c is almost never
modified.  This generally extends test time by an unreasonable amount
of time.

Add an optional timeout (in seconds) argument to rb_test, defaulting
to 60, and pass 5 from rb_test_001.sh.  If anyone ever significantly
updates rb_tree.c then they can run rb_test directly with its default
60s timeout... or for as long as they like.

Reported-by: Volker Lendecke <vl@samba.org>
Signed-off-by: Martin Schwenke <mschwenke@ddn.com>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Thu Feb 29 13:20:40 UTC 2024 on atb-devel-224
2024-02-29 13:20:40 +00:00
..
cluster_mutex_001.sh ctdb-tests: Use test_case() to help document test cases 2022-05-03 09:19:31 +00:00
cluster_mutex_002.sh ctdb:tests: Fix code spelling 2023-03-24 07:01:31 +00:00
cluster_mutex_003.sh ctdb-tests: Use test_case() to help document test cases 2022-05-03 09:19:31 +00:00
cmdline_test_001.sh ctdb-tests: Add tests for cmdline_add() api 2019-11-14 12:03:46 +00:00
comm_test_001.sh
comm_test_002.sh
conf_test_001.sh
config_test_001.sh ctdb-logging: Really make NOTICE the default debug level 2023-07-10 14:21:30 +00:00
config_test_002.sh ctdb-logging: Really make NOTICE the default debug level 2023-07-10 14:21:30 +00:00
config_test_003.sh
config_test_004.sh ctdb-config: Add configuration option [cluster] leader timeout 2022-01-17 10:21:33 +00:00
config_test_005.sh
config_test_006.sh ctdb-config: [legacy] recmaster capability -> [cluster] leader capability 2022-01-17 10:21:33 +00:00
config_test_007.sh
ctdb_io_test_001.sh
db_hash_test_001.sh
event_protocol_test_001.sh ctdb-tests: Iterate protocol tests internally 2022-02-14 04:32:29 +00:00
event_script_test_001.sh
hash_count_test_001.sh
line_test_001.sh
path_tests_001.sh
pidfile_test_001.sh
pkt_read_001.sh
pkt_write_001.sh
porting_tests_001.sh ctdb-common: Use POSIX if_nameindex() to check interface existence 2022-07-22 16:09:31 +00:00
protocol_test_001.sh ctdb-tests: Iterate protocol tests internally 2022-02-14 04:32:29 +00:00
protocol_test_002.sh ctdb-tests: Iterate protocol tests internally 2022-02-14 04:32:29 +00:00
protocol_test_012.sh ctdb-tests: Iterate protocol tests internally 2022-02-14 04:32:29 +00:00
protocol_test_101.sh ctdb-tests: Iterate protocol tests internally 2022-02-14 04:32:29 +00:00
protocol_test_111.sh ctdb-tests: Iterate protocol tests internally 2022-02-14 04:32:29 +00:00
protocol_test_201.sh
rb_test_001.sh ctdb-tests: Limit red-black tree test to 5s of random inserts 2024-02-29 13:20:40 +00:00
reqid_test_001.sh
run_event_001.sh ctdb: Introduce output before and after the 10-second timeout 2021-05-18 10:42:32 +00:00
run_proc_001.sh
sock_daemon_test_001.sh ctdb-common: Separate sock_daemon's SIGHUP and SIGUSR1 handling 2022-01-17 03:43:30 +00:00
sock_io_test_001.sh
srvid_test_001.sh
system_socket_test_001.sh ctdb-tests: Split system socket test 2020-03-10 07:37:34 +00:00
system_socket_test_002.sh ctdb-tests: Use test_case() to help document test cases 2022-05-03 09:19:31 +00:00
system_socket_test_003.sh ctdb-tests: Use test_case() to help document test cases 2022-05-03 09:19:31 +00:00
tmon_test_001.sh ctdb-tests: Add tests for trivial FD monitoring 2022-07-28 10:09:34 +00:00
tmon_test_002.sh ctdb-common: CID 1507498: Control flow issues (DEADCODE) 2022-08-01 09:19:55 +00:00
tunable_test_001.sh ctdb-tests: Work around unreadable file test failure when root 2022-07-22 16:09:31 +00:00