HBASE-18069 Fix flaky test TestReplicationAdminWithClusters#testDisableAndEnableReplication
This commit is contained in:
parent
affd6ddf32
commit
4249a1f3d9
|
@ -149,10 +149,6 @@ public class TestReplicationAdminWithClusters extends TestReplicationBase {
|
||||||
for (HColumnDescriptor fam : table.getColumnFamilies()) {
|
for (HColumnDescriptor fam : table.getColumnFamilies()) {
|
||||||
assertEquals(fam.getScope(), HConstants.REPLICATION_SCOPE_LOCAL);
|
assertEquals(fam.getScope(), HConstants.REPLICATION_SCOPE_LOCAL);
|
||||||
}
|
}
|
||||||
table = admin2.getTableDescriptor(tableName);
|
|
||||||
for (HColumnDescriptor fam : table.getColumnFamilies()) {
|
|
||||||
assertEquals(fam.getScope(), HConstants.REPLICATION_SCOPE_LOCAL);
|
|
||||||
}
|
|
||||||
adminExt.enableTableRep(tableName);
|
adminExt.enableTableRep(tableName);
|
||||||
table = admin1.getTableDescriptor(tableName);
|
table = admin1.getTableDescriptor(tableName);
|
||||||
for (HColumnDescriptor fam : table.getColumnFamilies()) {
|
for (HColumnDescriptor fam : table.getColumnFamilies()) {
|
||||||
|
|
Loading…
Reference in New Issue