Whamcloud - gitweb
LU-9487 tests: stop primary and failover services in mmp test 1 53/27253/3
authorJian Yu <jian.yu@intel.com>
Tue, 23 May 2017 18:37:13 +0000 (11:37 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 3 Jun 2017 03:57:20 +0000 (03:57 +0000)
commita23bb09a3bc447e4286218416d1dd5d096724bfc
tree63736ee3256d22ce118f1921aa0e2e671af93250
parent933cfab484343742cbcbf46e234d7c80b5f66160
LU-9487 tests: stop primary and failover services in mmp test 1

In mmp.sh test_1(), there is a race of starting the primary and
failover services at the same time. Since it's likely the failover
service is started before the primary one, we need check and stop
the failover service.

Test-Parameters: trivial \
envdefinitions=MMP_EXCEPT=5 \
clientcount=4 osscount=2 mdscount=2 mdtcount=1 \
austeroptions=-R failover=true iscsi=1 \
testlist=mmp

Change-Id: I945f4eb7839400e75b372fc0cc9ad9455ccb5668
Signed-off-by: Jian Yu <jian.yu@intel.com>
Reviewed-on: https://review.whamcloud.com/27253
Tested-by: Jenkins
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Nunez <james.a.nunez@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/mmp.sh