From f6c0b59725615da10435c40fec0f26dae542de74 Mon Sep 17 00:00:00 2001 From: Pranith Kumar K Date: Tue, 21 May 2019 10:58:44 +0530 Subject: tests: Fix spurious failures in ta-write-on-bad-brick.t Problem: afr_child_up_status_meta works only when LOOKUP on $M0 is successful. There are cases where quorum is not met and LOOKUP fails on $M0 which leads to failures similar to: grep: /mnt/glusterfs/0/.meta/graphs/active/patchy-replicate-0/private: Transport endpoint is not connected This was happening once in a while based on attribute-timeout and md-cache not serving the lookup. Fix: Find child-up status based on statedump instead. Also changed mount options to include --entry-timeout=0 and --attribute-timeout=0 updates bz#1193929 Change-Id: Ic0de72c3006d7399a5feb3e4d10d4748949b2ab3 Signed-off-by: Pranith Kumar K --- tests/volume.rc | 1 - 1 file changed, 1 deletion(-) (limited to 'tests/volume.rc') diff --git a/tests/volume.rc b/tests/volume.rc index f652a5b0099..af7690ba5ff 100644 --- a/tests/volume.rc +++ b/tests/volume.rc @@ -138,7 +138,6 @@ function wait_statedump_ready { } function generate_statedump { - local fpath="" pid=$1 #remove old stale statedumps cleanup_statedump $pid -- cgit