HBASE-20829 TestSyncReplicationStandbyKillRS is flakey - add error log for debugging

This commit is contained in:
zhangduo 2018-07-01 18:14:10 +08:00
parent 34e23fe425
commit 112d050609
1 changed files with 2 additions and 2 deletions

View File

@ -88,9 +88,9 @@ public class TestSyncReplicationStandbyKillRS extends SyncReplicationTestBase {
// Transit standby to DA to replay logs
try {
UTIL2.getAdmin().transitReplicationPeerSyncReplicationState(PEER_ID,
SyncReplicationState.DOWNGRADE_ACTIVE);
SyncReplicationState.DOWNGRADE_ACTIVE);
} catch (Exception e) {
LOG.error("Failed to transit standby cluster to " + SyncReplicationState.DOWNGRADE_ACTIVE);
LOG.error("Failed to transit standby cluster to " + SyncReplicationState.DOWNGRADE_ACTIVE, e);
}
while (UTIL2.getAdmin().getReplicationPeerSyncReplicationState(PEER_ID)