14f8ab
From c8f0ac9b429e1ff73a3e87247193c35c66212540 Mon Sep 17 00:00:00 2001
14f8ab
From: Shwetha K Acharya <sacharya@redhat.com>
14f8ab
Date: Tue, 2 Apr 2019 12:06:53 +0530
14f8ab
Subject: [PATCH 41/52] tests/geo-rep: Build failed in Jenkins for test
14f8ab
 bug-1600145.t
14f8ab
14f8ab
Problem: the ((strcmp (key, "cluster.brick-multiplex") == 0))
14f8ab
comparision in cli/src/cli-cmd-parser.c is expecting
14f8ab
either yes or no confirmation from cli, which is not handled
14f8ab
in bug-1600145.t, causing test to wait till timeout and
14f8ab
then fail.
14f8ab
14f8ab
Solution: Passing yes as pipeline to
14f8ab
`gluster v set all cluster.brick-multiplex on` in bug-1600145.t
14f8ab
14f8ab
Label: DOWNSTREAM ONLY
14f8ab
14f8ab
Change-Id: I1a6c2a992b65380cea145fd1c46d22ec1251c77e
14f8ab
Signed-off-by: Shwetha K Acharya <sacharya@redhat.com>
14f8ab
Reviewed-on: https://code.engineering.redhat.com/gerrit/166694
14f8ab
Reviewed-by: Sunil Kumar Heggodu Gopala Acharya <sheggodu@redhat.com>
14f8ab
Tested-by: Sunil Kumar Heggodu Gopala Acharya <sheggodu@redhat.com>
14f8ab
Reviewed-by: Sunny Kumar <sunkumar@redhat.com>
14f8ab
---
14f8ab
 tests/00-geo-rep/bug-1600145.t | 2 +-
14f8ab
 1 file changed, 1 insertion(+), 1 deletion(-)
14f8ab
14f8ab
diff --git a/tests/00-geo-rep/bug-1600145.t b/tests/00-geo-rep/bug-1600145.t
14f8ab
index 1d38bf9..359bc4f 100644
14f8ab
--- a/tests/00-geo-rep/bug-1600145.t
14f8ab
+++ b/tests/00-geo-rep/bug-1600145.t
14f8ab
@@ -29,7 +29,7 @@ slave_mnt=$M1
14f8ab
 
14f8ab
 ##create_and_start_master_volume
14f8ab
 TEST $CLI volume create $GMV0 replica 2 $H0:$B0/${GMV0}{1,2};
14f8ab
-gluster v set all cluster.brick-multiplex on
14f8ab
+yes | gluster v set all cluster.brick-multiplex on
14f8ab
 TEST $CLI volume start $GMV0
14f8ab
 
14f8ab
 ##create_and_start_slave_volume
14f8ab
-- 
14f8ab
1.8.3.1
14f8ab