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