8 Star 0 Fork 5

src-anolis-os/glusterfs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0404-tests-Fix-spurious-failure.patch 1.47 KB
一键复制 编辑 原始数据 按行查看 历史
geliwei 提交于 2021-06-16 16:09 . update to glusterfs-6.0-49.1.el8.src.rpm
From b65ca1045910bc18c601681788eb322dbb8ec2fa Mon Sep 17 00:00:00 2001
From: Pranith Kumar K <[email protected]>
Date: Mon, 14 Oct 2019 10:29:31 +0530
Subject: [PATCH 404/449] tests: Fix spurious failure
> Upstream patch:https://review.gluster.org/23546
> fixes: bz#1759002
> Change-Id: I4d49e1c2ca9b3c1d74b9dd5a30f1c66983a76529
> Signed-off-by: Pranith Kumar K <[email protected]>
BUG: 1764091
Change-Id: I8b66f08cce7a87788867c6373aed71d6fc65155f
Signed-off-by: Ravishankar N <[email protected]>
Reviewed-on: https://code.engineering.redhat.com/gerrit/202370
Tested-by: RHGS Build Bot <[email protected]>
Reviewed-by: Sunil Kumar Heggodu Gopala Acharya <[email protected]>
---
tests/bugs/replicate/bug-1744548-heal-timeout.t | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/bugs/replicate/bug-1744548-heal-timeout.t b/tests/bugs/replicate/bug-1744548-heal-timeout.t
index 0aaa3ea..c208112 100644
--- a/tests/bugs/replicate/bug-1744548-heal-timeout.t
+++ b/tests/bugs/replicate/bug-1744548-heal-timeout.t
@@ -5,8 +5,8 @@
. $(dirname $0)/../../afr.rc
function get_cumulative_opendir_count {
-#sed 'n:d' prints odd-numbered lines
- $CLI volume profile $V0 info |grep OPENDIR|sed 'n;d' | awk '{print $8}'|tr -d '\n'
+#sed command prints content between Cumulative and Interval, this keeps content from Cumulative stats
+ $CLI volume profile $V0 info |sed -n '/^Cumulative/,/^Interval/p'|grep OPENDIR| awk '{print $8}'|tr -d '\n'
}
cleanup;
--
1.8.3.1
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-anolis-os/glusterfs.git
[email protected]:src-anolis-os/glusterfs.git
src-anolis-os
glusterfs
glusterfs
a8

搜索帮助