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>
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"