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