Skip to content

Commit

Permalink
Merge pull request #1207 from ashitsalesforce/master
Browse files Browse the repository at this point in the history
include Bulk v2 in extractall tests
  • Loading branch information
ashitsalesforce authored Aug 6, 2024
2 parents d8dbb1f + a96dd5b commit cbca161
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 cbca161

Please sign in to comment.