Skip to content
Permalink
Browse files
Amend HBASE-22380 break circle replication when doing bulkload
Fixing tests broken by this commit: TestBulkLoadHFilesSplitRecovery and TestSecureBulkLoadHFilesSplitRecovery.
  • Loading branch information
wchevreuil committed Sep 26, 2019
1 parent f0dddd1 commit 277c1cc97f848a4d58cd82ad433be520d424d5ee
Showing 1 changed file with 1 addition and 1 deletion.
@@ -267,7 +267,7 @@ private static <T> CompletableFuture<T> failedFuture(Throwable error) {
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;
}

0 comments on commit 277c1cc

Please sign in to comment.