From c8d733c3ed39f297d0f56052c6dc4d02aecdbc4d Mon Sep 17 00:00:00 2001 From: Sunny Kumar Date: Fri, 24 Apr 2020 15:17:12 +0100 Subject: test: improve geo-rep non root test Make sure bricks are up before mounting volume. Also made sure that mount is available before creating test data. Change-Id: I4915b837df46e43be5678dac8ae5602021c52685 Updates: #1197 Signed-off-by: Sunny Kumar --- tests/geo-rep.rc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/geo-rep.rc') diff --git a/tests/geo-rep.rc b/tests/geo-rep.rc index 84c2c2251c0..9ba4262730e 100644 --- a/tests/geo-rep.rc +++ b/tests/geo-rep.rc @@ -1,4 +1,9 @@ GEO_REP_TIMEOUT=120 +CHECK_MOUNT_TIMEOUT=50 +#check for mount point +function check_mounted () { + df | grep $1 | wc -l +} function check_status_num_rows() { -- cgit