forked from samba-team/samba
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Martin Schwenke <[email protected]> Reviewed-by: Volker Lendecke <[email protected]> Autobuild-User(master): Volker Lendecke <[email protected]> Autobuild-Date(master): Thu Feb 29 13:20:40 UTC 2024 on atb-devel-224
- Loading branch information
1 parent
0c1ac19
commit 667265b
Showing
2 changed files
with
15 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters