Whamcloud - gitweb
b=21913 conf-sanity test_35b FAIL due to client reconnection has not been triggered
authorDmitry Zogin <dmitry.zogin@sun.com>
Fri, 12 Feb 2010 22:27:32 +0000 (17:27 -0500)
committerJohann Lombardi <johann@sun.com>
Fri, 19 Feb 2010 15:53:05 +0000 (16:53 +0100)
 Improve the robustness of conf-sanity test_35b.

 i=johann

lustre/tests/conf-sanity.sh

index 510b63a..2b67c34 100644 (file)
@@ -1258,19 +1258,18 @@ test_35b() { # bug 18674
                at_max_set 0 mds client
        fi
 
-       mkdir -p $MOUNT/testdir
-       touch $MOUNT/testdir/test
+       mkdir -p $MOUNT/$tdir
 
        log "Injecting EBUSY on MDS"
        # Setting OBD_FAIL_MDS_RESEND=0x136
        do_facet mds "$LCTL set_param fail_loc=0x80000136" || return 2
 
-       log "Stat on a test file"
-       stat $MOUNT/testdir/test
+       log "Creating a test file"
+       touch $MOUNT/$tdir/$tfile
 
        log "Stop injecting EBUSY on MDS"
        do_facet mds "$LCTL set_param fail_loc=0" || return 3
-       rm -f $MOUNT/testdir/test
+       rm -f $MOUNT/$tdir/$tfile
 
        log "done"
        # restore adaptive timeout