HBASE-20829 TestSyncReplicationStandbyKillRS is flakey - add error log for debugging
This commit is contained in:
parent
34e23fe425
commit
112d050609
|
@ -88,9 +88,9 @@ public class TestSyncReplicationStandbyKillRS extends SyncReplicationTestBase {
|
||||||
// Transit standby to DA to replay logs
|
// Transit standby to DA to replay logs
|
||||||
try {
|
try {
|
||||||
UTIL2.getAdmin().transitReplicationPeerSyncReplicationState(PEER_ID,
|
UTIL2.getAdmin().transitReplicationPeerSyncReplicationState(PEER_ID,
|
||||||
SyncReplicationState.DOWNGRADE_ACTIVE);
|
SyncReplicationState.DOWNGRADE_ACTIVE);
|
||||||
} catch (Exception e) {
|
} 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)
|
while (UTIL2.getAdmin().getReplicationPeerSyncReplicationState(PEER_ID)
|
||||||
|
|
Loading…
Reference in New Issue