From 66cb564e2c90da412d679cc11cb3be5cb4b1c381 Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Sat, 27 Jun 2026 15:42:53 +0300 Subject: [PATCH] Fix background jobs in etcd_fail test --- tests/test_etcd_fail.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/tests/test_etcd_fail.sh b/tests/test_etcd_fail.sh index 64619c4e..f10e8ae4 100755 --- a/tests/test_etcd_fail.sh +++ b/tests/test_etcd_fail.sh @@ -23,9 +23,13 @@ kill_etcds() start_etcd 3 } -kill_etcds & - $VITASTOR_FIO -bs=4k -direct=1 -iodepth=1 -fsync=1 -rw=randwrite \ - -pool=1 -inode=1 -size=128M -cluster_log_level=10 -runtime=30 + -pool=1 -inode=1 -size=128M -cluster_log_level=10 -runtime=30 & +FIO_PID=$! + +# Kill in foreground because otherwise antietcds are not killed by jobs -p +kill_etcds + +wait $FIO_PID format_green OK