From ec95f02b1ebe000e3bb6c7cc9c69a2ed172f50cc Mon Sep 17 00:00:00 2001 From: Aravinda VK Date: Tue, 26 Mar 2019 13:20:13 +0530 Subject: geo-rep: fix integer config validation ssh-port validation is mentioned as `validation=int` in template `gsyncd.conf`, but not handled this during geo-rep config set. Backport of https://review.gluster.org/22418 Fixes: bz#1695445 Change-Id: I3f19d9b471b0a3327e4d094dfbefcc58ed2c34f6 Signed-off-by: Aravinda VK (cherry picked from commit c574984e19d59e351372eacce0ce11fb36e96dd4) --- tests/00-geo-rep/georep-basic-dr-rsync.t | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests') diff --git a/tests/00-geo-rep/georep-basic-dr-rsync.t b/tests/00-geo-rep/georep-basic-dr-rsync.t index 8b64370e9de..919c9d924ad 100644 --- a/tests/00-geo-rep/georep-basic-dr-rsync.t +++ b/tests/00-geo-rep/georep-basic-dr-rsync.t @@ -71,6 +71,9 @@ EXPECT_WITHIN $GEO_REP_TIMEOUT 4 check_status_num_rows "Created" #Config gluster-command-dir TEST $GEOREP_CLI $master $slave config gluster-command-dir ${GLUSTER_CMD_DIR} +#Config Set ssh-port to validate int validation +TEST $GEOREP_CLI $master $slave config ssh-port 22 + #Config gluster-command-dir TEST $GEOREP_CLI $master $slave config slave-gluster-command-dir ${GLUSTER_CMD_DIR} -- cgit