Skip to content

Commit

Permalink
include Bulk v2 in extractall tests
Browse files Browse the repository at this point in the history
include Bulk v2 in extractall tests
  • Loading branch information
ashitsalesforce committed Aug 6, 2024
1 parent 1b8e8ab commit a96dd5b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public static Collection<Object[]> getParameters() {
// Bulk API
TestVariant.forSettings(TestSetting.BULK_API_ENABLED, TestSetting.BULK_V2_API_DISABLED)
// Bulk V2 Query API does not support query_all
// TestVariant.forSettings(TestSetting.BULK_API_ENABLED, TestSetting.BULK_V2_API_ENABLED)
TestVariant.forSettings(TestSetting.BULK_API_ENABLED, TestSetting.BULK_V2_API_ENABLED)
);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -478,9 +478,4 @@ protected String[] insertExtractTestRecords(int numRecords, SObjectGenerator sOb
}
return ids;
}

protected boolean isBulkV2APIEnabled(Map<String, String> argMap) {
// bulk v2 api is not used for query all
return !isExtractAll() && super.isBulkV2APIEnabled(argMap);
}
}

0 comments on commit a96dd5b

Please sign in to comment.