]> www.infradead.org Git - users/hch/blktests.git/commitdiff
tests/nvmeof-mp/rc: Make the NVMeOF multipath tests more reliable
authorBart Van Assche <bvanassche@acm.org>
Thu, 8 Aug 2019 20:05:05 +0000 (13:05 -0700)
committerOmar Sandoval <osandov@osandov.com>
Wed, 4 Sep 2019 17:49:18 +0000 (10:49 -0700)
Fix the following failure for tests 002, 003, 004 and 011:

+tests/nvmeof-mp/rc: line 99: echo: write error: Operation already in progress

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
tests/nvmeof-mp/rc

index 7352b1628cd3834fdf4f4217e87294a70b1b4edb..2493fcee12ded247005f3fab6cc137324070c1b8 100755 (executable)
@@ -124,7 +124,7 @@ simulate_network_failure_loop() {
        done 2>>"$FULL"
 
        for ((i=0;i<5;i++)); do
-               log_in && break
+               log_in 2>/dev/null && break
                sleep 1
        done
 }