git: e353cbffd600 - main - tests/carp: make sleep interval in the wait loop smaller
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 04 Dec 2025 18:52:17 UTC
The branch main has been updated by glebius:
URL: https://cgit.FreeBSD.org/src/commit/?id=e353cbffd600ae3c00c8584dddcabf9d0ae1202a
commit e353cbffd600ae3c00c8584dddcabf9d0ae1202a
Author: Gleb Smirnoff <glebius@FreeBSD.org>
AuthorDate: 2025-12-04 18:40:34 +0000
Commit: Gleb Smirnoff <glebius@FreeBSD.org>
CommitDate: 2025-12-04 18:52:01 +0000
tests/carp: make sleep interval in the wait loop smaller
Makes tests to finish slightly faster.
---
tests/sys/netinet/carp.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/sys/netinet/carp.sh b/tests/sys/netinet/carp.sh
index 568d2beaf914..a9c99a7d701f 100755
--- a/tests/sys/netinet/carp.sh
+++ b/tests/sys/netinet/carp.sh
@@ -43,7 +43,7 @@ wait_for_carp()
while [ -z "$(is_master ${jail1} ${itf1})" ] &&
[ -z "$(is_master ${jail2} ${itf2})" ]; do
- sleep 1
+ sleep 0.1
done
if [ -n "$(is_master ${jail1} ${itf1})" ] &&