Whamcloud - gitweb
LU-18116 tests: replay-single test_201 timeout 03/58203/4
authorAlexander Boyko <alexander.boyko@hpe.com>
Tue, 25 Feb 2025 10:38:34 +0000 (11:38 +0100)
committerOleg Drokin <green@whamcloud.com>
Sat, 7 Jun 2025 23:00:40 +0000 (23:00 +0000)
19s is not enough for some system to finish MDT1 umount.
Increasing it to 20s + OSTCOUNT seconds.

HPE-bug-id: LUS-12689
Test-Parameters: testlist=replay-single
Fixes: ffedcbae21f7 ("LU-17809 osp: make disconnect asynchronous")
Signed-off-by:Alexander Boyko <alexander.boyko@hpe.com>
Change-Id: I900ce107ceb664530bc2165685ba7b88cbd46807
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/58203
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Mikhail Pershin <mpershin@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/replay-single.sh

index 68691c6..c79fd22 100755 (executable)
@@ -5345,8 +5345,9 @@ test_201() {
                        error "mount mds2 failed"
        echo "Umount took $duration seconds"
 
-       #Valid timeout is 8 for MDTs + 8 for OSTs + 4 some for other umount
-       (( duration < 20 )) || error "Cascading timeouts on disconnect"
+       # Valid timeout is 8s for MDT0000-lwp-MDT0001
+       # + 8s for osp devices MDTs/OSTs + (4s + OSTCOUNTs) for other umount
+       (( duration <= (20 + OSTCOUNT) )) || error "Cascading timeouts on disconnect"
 }
 run_test 201 "MDT umount cascading disconnects timeouts"