From a96dd5b1b56b9da0ec4c8aca0f2303a4b0c4c197 Mon Sep 17 00:00:00 2001 From: ashitsalesforce Date: Mon, 5 Aug 2024 22:20:25 -0700 Subject: [PATCH] include Bulk v2 in extractall tests include Bulk v2 in extractall tests --- .../dataloader/process/CsvExtractAllProcessTest.java | 2 +- .../dataloader/process/ProcessExtractTestBase.java | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/test/java/com/salesforce/dataloader/process/CsvExtractAllProcessTest.java b/src/test/java/com/salesforce/dataloader/process/CsvExtractAllProcessTest.java index c83ff920..95b958c6 100644 --- a/src/test/java/com/salesforce/dataloader/process/CsvExtractAllProcessTest.java +++ b/src/test/java/com/salesforce/dataloader/process/CsvExtractAllProcessTest.java @@ -56,7 +56,7 @@ public static Collection 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) ); } diff --git a/src/test/java/com/salesforce/dataloader/process/ProcessExtractTestBase.java b/src/test/java/com/salesforce/dataloader/process/ProcessExtractTestBase.java index e5f7cebd..6fba6f91 100644 --- a/src/test/java/com/salesforce/dataloader/process/ProcessExtractTestBase.java +++ b/src/test/java/com/salesforce/dataloader/process/ProcessExtractTestBase.java @@ -478,9 +478,4 @@ protected String[] insertExtractTestRecords(int numRecords, SObjectGenerator sOb } return ids; } - - protected boolean isBulkV2APIEnabled(Map argMap) { - // bulk v2 api is not used for query all - return !isExtractAll() && super.isBulkV2APIEnabled(argMap); - } }