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