Whamcloud - gitweb
Branch b1_4
authornathan <nathan>
Wed, 30 Mar 2005 21:10:23 +0000 (21:10 +0000)
committernathan <nathan>
Wed, 30 Mar 2005 21:10:23 +0000 (21:10 +0000)
b=5951
Try to confine test 24 effects to test 24

lustre/tests/recovery-small.sh

index ba7084f..129bb8c 100755 (executable)
@@ -383,10 +383,12 @@ test_24() {       # bug 2248 - eviction fails writeback but app doesn't see it
        usleep 500
 # OBD_FAIL_PTLRPC_BULK_PUT_NET|OBD_FAIL_ONCE
        sysctl -w lustre.fail_loc=0x80000503
+       usleep 500
        kill -USR1 $MULTI_PID
        wait $MULTI_PID
        rc=$?
        [ $rc -eq 0 ] && error "multiop didn't fail fsync: rc $rc" || true
+       sysctl -w lustre.fail_loc=0x0
 }
 run_test 24 "fsync error (should return error)"