Whamcloud - gitweb
b=16818
[fs/lustre-release.git] / lustre / tests / conf-sanity.sh
index e4b2070..60f880a 100644 (file)
@@ -771,29 +771,6 @@ test_26() {
 }
 run_test 26 "MDT startup failure cleans LOV (should return errs)"
 
-wait_update () {
-       local node=$1
-       local TEST=$2
-       local FINAL=$3
-
-       local RESULT
-       local MAX=90
-       local WAIT=0
-       local sleep=5
-       while [ $WAIT -lt $MAX ]; do
-           RESULT=$(do_node $node "$TEST") 
-           if [ $RESULT -eq $FINAL ]; then
-               echo "Updated config after $WAIT sec: wanted $FINAL got $RESULT"
-               return 0
-           fi
-           WAIT=$((WAIT + sleep))
-           echo "Waiting $((MAX - WAIT)) secs for config update" 
-           sleep $sleep
-       done
-       echo "Config update not seen after $MAX sec: wanted $FINAL got $RESULT"
-       return 3
-}
-
 set_and_check() {
        local myfacet=$1
        local TEST=$2