git: 332485a47372 - stable/15 - tests/carp: make sleep interval in the wait loop smaller
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 09 May 2026 18:52:39 UTC
The branch stable/15 has been updated by zlei:
URL: https://cgit.FreeBSD.org/src/commit/?id=332485a473724c7532690be34ed1be06d9521448
commit 332485a473724c7532690be34ed1be06d9521448
Author: Gleb Smirnoff <glebius@FreeBSD.org>
AuthorDate: 2025-12-04 18:40:34 +0000
Commit: Zhenlei Huang <zlei@FreeBSD.org>
CommitDate: 2026-05-09 18:51:11 +0000
tests/carp: make sleep interval in the wait loop smaller
Makes tests to finish slightly faster.
(cherry picked from commit e353cbffd600ae3c00c8584dddcabf9d0ae1202a)
---
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})" ] &&