summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAtin Mukherjee <amukherj@redhat.com>2017-06-27 21:09:49 +0530
committerAtin Mukherjee <amukherj@redhat.com>2017-06-28 06:19:01 +0000
commit24d09edf4b13d72a8707c801939921de0d32d4dd (patch)
tree58d3fde1d64bd3fc476b8af1d7de1b8765fbfc8f /tests
parent68cb9356d19cba5da7f8a719baca47d34e1740b7 (diff)
glusterd: mark brickinfo to started on successful attach
brickinfo's port & status should be filled up only when attach brick is successful. Change-Id: I68b181be37cb94d176f0f4692e8d9dac5493181c BUG: 1465559 Signed-off-by: Atin Mukherjee <amukherj@redhat.com> Reviewed-on: https://review.gluster.org/17640 Reviewed-by: Jeff Darcy <jeff@pl.atyp.us> Smoke: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Samikshan Bairagya <samikshan@gmail.com> CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/basic/multiplex.t6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/basic/multiplex.t b/tests/basic/multiplex.t
index 0448e5b12cd..ed8788ff3bb 100644
--- a/tests/basic/multiplex.t
+++ b/tests/basic/multiplex.t
@@ -69,3 +69,9 @@ nbrick0=$(ls $B0/brick0/file?? | wc -l)
nbrick1=$(ls $B0/brick1/file?? | wc -l)
TEST [ $((nbrick0 + nbrick1)) -eq 90 ]
TEST [ $((nbrick0 * nbrick1)) -ne 0 ]
+
+pkill gluster
+TEST glusterd
+EXPECT_WITHIN $PROCESS_DOWN_TIMEOUT 1 count_brick_pids
+EXPECT_WITHIN $PROCESS_DOWN_TIMEOUT 1 count_brick_processes
+