From 293da2049c902de97c8cad2dfa17486a36473421 Mon Sep 17 00:00:00 2001 From: Andreas Dilger Date: Mon, 13 Mar 2017 14:53:12 -0600 Subject: [PATCH] LU-9201 test: avoid long sleeps in mount_facet() Reduce the long sleep during mount since this was fixed via patch https://review.whamcloud.com/24845 for LU-7481. This reduces one llmount.sh time from 62s to 37s (2 MDTs, 4 OSTs), and removes about 800s from each conf-sanity run (201x 4s sleeps due to "Commit the device label" in a recent test log). Test-Parameters: trivial testlist=conf-sanity,conf-sanity,conf-sanity Test-Parameters: trivial testlist=conf-sanity,conf-sanity,conf-sanity Signed-off-by: Andreas Dilger Change-Id: Ib51858a00b935c4f7e473cead117e7d59c3ebbe5 Reviewed-on: https://review.whamcloud.com/26021 Reviewed-by: Jian Yu Tested-by: Jenkins Tested-by: Maloo Reviewed-by: James Nunez Reviewed-by: Oleg Drokin --- lustre/tests/test-framework.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/tests/test-framework.sh b/lustre/tests/test-framework.sh index c565f08..c7aa2a2 100755 --- a/lustre/tests/test-framework.sh +++ b/lustre/tests/test-framework.sh @@ -1404,7 +1404,7 @@ mount_facet() { # commit the device label change to disk if [[ $devicelabel =~ (:[a-zA-Z]{3}[0-9]{4}) ]]; then echo "Commit the device label on ${!dev}" - do_facet $facet "sync; sleep 5; sync" + do_facet $facet "sync; sleep 1; sync" fi -- 1.8.3.1