Amend HBASE-22380 break circle replication when doing bulkload

Fixing tests broken by this commit: TestBulkLoadHFilesSplitRecovery and TestSecureBulkLoadHFilesSplitRecovery.
This commit is contained in:
Wellington Chevreuil 2019-09-26 13:33:51 +01:00
parent f0dddd1cc2
commit 277c1cc97f
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}