8 Star 0 Fork 5

src-anolis-os/glusterfs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0041-tests-geo-rep-Build-failed-in-Jenkins-for-test-bug-1.patch 1.51 KB
一键复制 编辑 原始数据 按行查看 历史
张彬琛 提交于 2021-01-20 13:34 . import glusterfs-6.0-20.el8.src.rpm
From c8f0ac9b429e1ff73a3e87247193c35c66212540 Mon Sep 17 00:00:00 2001
From: Shwetha K Acharya <[email protected]>
Date: Tue, 2 Apr 2019 12:06:53 +0530
Subject: [PATCH 41/52] tests/geo-rep: Build failed in Jenkins for test
bug-1600145.t
Problem: the ((strcmp (key, "cluster.brick-multiplex") == 0))
comparision in cli/src/cli-cmd-parser.c is expecting
either yes or no confirmation from cli, which is not handled
in bug-1600145.t, causing test to wait till timeout and
then fail.
Solution: Passing yes as pipeline to
`gluster v set all cluster.brick-multiplex on` in bug-1600145.t
Label: DOWNSTREAM ONLY
Change-Id: I1a6c2a992b65380cea145fd1c46d22ec1251c77e
Signed-off-by: Shwetha K Acharya <[email protected]>
Reviewed-on: https://code.engineering.redhat.com/gerrit/166694
Reviewed-by: Sunil Kumar Heggodu Gopala Acharya <[email protected]>
Tested-by: Sunil Kumar Heggodu Gopala Acharya <[email protected]>
Reviewed-by: Sunny Kumar <[email protected]>
---
tests/00-geo-rep/bug-1600145.t | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/00-geo-rep/bug-1600145.t b/tests/00-geo-rep/bug-1600145.t
index 1d38bf9..359bc4f 100644
--- a/tests/00-geo-rep/bug-1600145.t
+++ b/tests/00-geo-rep/bug-1600145.t
@@ -29,7 +29,7 @@ slave_mnt=$M1
##create_and_start_master_volume
TEST $CLI volume create $GMV0 replica 2 $H0:$B0/${GMV0}{1,2};
-gluster v set all cluster.brick-multiplex on
+yes | gluster v set all cluster.brick-multiplex on
TEST $CLI volume start $GMV0
##create_and_start_slave_volume
--
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

搜索帮助