|
|
190130 |
From b65ca1045910bc18c601681788eb322dbb8ec2fa Mon Sep 17 00:00:00 2001
|
|
|
190130 |
From: Pranith Kumar K <pkarampu@redhat.com>
|
|
|
190130 |
Date: Mon, 14 Oct 2019 10:29:31 +0530
|
|
|
190130 |
Subject: [PATCH 404/449] tests: Fix spurious failure
|
|
|
190130 |
|
|
|
190130 |
> Upstream patch:https://review.gluster.org/23546
|
|
|
190130 |
> fixes: bz#1759002
|
|
|
190130 |
> Change-Id: I4d49e1c2ca9b3c1d74b9dd5a30f1c66983a76529
|
|
|
190130 |
> Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
|
|
|
190130 |
|
|
|
190130 |
BUG: 1764091
|
|
|
190130 |
Change-Id: I8b66f08cce7a87788867c6373aed71d6fc65155f
|
|
|
190130 |
Signed-off-by: Ravishankar N <ravishankar@redhat.com>
|
|
|
190130 |
Reviewed-on: https://code.engineering.redhat.com/gerrit/202370
|
|
|
190130 |
Tested-by: RHGS Build Bot <nigelb@redhat.com>
|
|
|
190130 |
Reviewed-by: Sunil Kumar Heggodu Gopala Acharya <sheggodu@redhat.com>
|
|
|
190130 |
---
|
|
|
190130 |
tests/bugs/replicate/bug-1744548-heal-timeout.t | 4 ++--
|
|
|
190130 |
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
190130 |
|
|
|
190130 |
diff --git a/tests/bugs/replicate/bug-1744548-heal-timeout.t b/tests/bugs/replicate/bug-1744548-heal-timeout.t
|
|
|
190130 |
index 0aaa3ea..c208112 100644
|
|
|
190130 |
--- a/tests/bugs/replicate/bug-1744548-heal-timeout.t
|
|
|
190130 |
+++ b/tests/bugs/replicate/bug-1744548-heal-timeout.t
|
|
|
190130 |
@@ -5,8 +5,8 @@
|
|
|
190130 |
. $(dirname $0)/../../afr.rc
|
|
|
190130 |
|
|
|
190130 |
function get_cumulative_opendir_count {
|
|
|
190130 |
-#sed 'n:d' prints odd-numbered lines
|
|
|
190130 |
- $CLI volume profile $V0 info |grep OPENDIR|sed 'n;d' | awk '{print $8}'|tr -d '\n'
|
|
|
190130 |
+#sed command prints content between Cumulative and Interval, this keeps content from Cumulative stats
|
|
|
190130 |
+ $CLI volume profile $V0 info |sed -n '/^Cumulative/,/^Interval/p'|grep OPENDIR| awk '{print $8}'|tr -d '\n'
|
|
|
190130 |
}
|
|
|
190130 |
|
|
|
190130 |
cleanup;
|
|
|
190130 |
--
|
|
|
190130 |
1.8.3.1
|
|
|
190130 |
|