Fix intermittent test failures in ClusterAdminRpcServiceTest 27/41027/1
authorTom Pantelis <tpanteli@brocade.com>
Wed, 29 Jun 2016 08:09:17 +0000 (04:09 -0400)
committerTom Pantelis <tpanteli@brocade.com>
Wed, 29 Jun 2016 08:11:16 +0000 (04:11 -0400)
commit49ffbb5a0b5e8ab177796f6c46979d3661669a65
treef95cd4cb27493845c329d6b7f8dee4a35c495c2c
parent0f0accfc0a824efcb7e9cd8c533c610378589826
Fix intermittent test failures in ClusterAdminRpcServiceTest

Failed tests:
  ClusterAdminRpcServiceTest.testChangeMemberVotingStatesForShard:555->verifySuccessfulRpcResult:296
Rpc failed with error: RpcError [message=Failed to change member voting
states for shard cars: Shard
member-3-shard-cars-config_testChangeMemberVotingStatusForShard
currently has no leader. Try again later., severity=ERROR,
errorType=RPC, tag=operation-failed, applicationTag=null, info=null,
cause=null]

Needs to ensure node3's datastore shards are ready with leaders.

Change-Id: Iae6179e6f577b98f267c1afd3a901a14eed81e7f
Signed-off-by: Tom Pantelis <tpanteli@brocade.com>
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/admin/ClusterAdminRpcServiceTest.java