Whamcloud - gitweb
LU-16275 tests: Modify killall of replay-dual 25 77/48977/5
authorKevin Zhao <kevin.zhao@linaro.org>
Fri, 28 Oct 2022 06:55:52 +0000 (14:55 +0800)
committerOleg Drokin <green@whamcloud.com>
Wed, 19 Jul 2023 16:42:31 +0000 (16:42 +0000)
The in-tree test will have rename the multiop to lt-multiop,
which will not be killed with killall. So it's better to add
regex to killall for kill all the process with multiop and
lt-multiop

Test-Parameters: trivial testlist=replay-dual env=ONLY=25
Signed-off-by: Kevin Zhao <kevin.zhao@linaro.org>
Change-Id: Ic9b064a6bb0d944eedb5dc019ba5d4d05c98eeae
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/48977
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Vitaliy Kuznetsov <vkuznetsov@ddn.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/tests/replay-dual.sh

index 3202973..707c7dd 100755 (executable)
@@ -933,7 +933,7 @@ test_25() {
        # multiop does not finish because CP AST is skipped;
        # it is ok to kill it in the test, because CP AST is already re-sent
        # and it does not hung forever in real life
-       killall multiop
+       killall -r "(multiop)$"
        wait
 }
 run_test 25 "replay|resend"