Amend HBASE-22380 break circle replication when doing bulkload
Fixing tests broken by this commit: TestBulkLoadHFilesSplitRecovery and TestSecureBulkLoadHFilesSplitRecovery.
This commit is contained in:
parent
f0dddd1cc2
commit
277c1cc97f
|
@ -267,7 +267,7 @@ public class TestBulkLoadHFilesSplitRecovery {
|
|||
private static AsyncClusterConnection mockAndInjectError(AsyncClusterConnection conn) {
|
||||
AsyncClusterConnection errConn = spy(conn);
|
||||
doReturn(failedFuture(new IOException("injecting bulk load error"))).when(errConn)
|
||||
.bulkLoad(any(), anyList(), any(), anyBoolean(), any(), any(), anyBoolean());
|
||||
.bulkLoad(any(), anyList(), any(), anyBoolean(), any(), any(), anyBoolean(), anyList());
|
||||
return errConn;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue