From 928f3346f22bab92fa3618f11c56f1ca4d8d1e82 Mon Sep 17 00:00:00 2001
From: grev <grev>
Date: Fri, 14 Dec 2007 10:05:04 +0000
Subject: [PATCH] b=13306 i=Adilger

wait delete completed before check kbytesavail
---
 lustre/tests/sanity.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh
index bb40cc98c8..e64c73baeb 100644
--- a/lustre/tests/sanity.sh
+++ b/lustre/tests/sanity.sh
@@ -3910,6 +3910,7 @@ test_115() {
 run_test 115 "verify dynamic thread creation===================="
 
 free_min_max () {
+	wait_delete_completed
 	AVAIL=($(cat $LPROC/osc/*[oO][sS][cC][-_]*/kbytesavail))
 	echo OST kbytes available: ${AVAIL[@]}
 	MAXI=0; MAXV=${AVAIL[0]}
-- 
GitLab