From e3fd8d87b17155232398364645ffb0b45213ba17 Mon Sep 17 00:00:00 2001 From: Lin Liu <141371752+linliu-code@users.noreply.github.com> Date: Tue, 13 Feb 2024 15:20:58 -0800 Subject: [PATCH] [MINOR] Disable hdfs for hudi-utilities tests (#10663) --- .../apache/hudi/utilities/sources/TestSqlFileBasedSource.java | 2 +- .../utilities/testutils/sources/AbstractDFSSourceTestBase.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hudi-utilities/src/test/java/org/apache/hudi/utilities/sources/TestSqlFileBasedSource.java b/hudi-utilities/src/test/java/org/apache/hudi/utilities/sources/TestSqlFileBasedSource.java index ae0fce06fbde..c718e7a12e8d 100644 --- a/hudi-utilities/src/test/java/org/apache/hudi/utilities/sources/TestSqlFileBasedSource.java +++ b/hudi-utilities/src/test/java/org/apache/hudi/utilities/sources/TestSqlFileBasedSource.java @@ -63,7 +63,7 @@ public class TestSqlFileBasedSource extends UtilitiesTestBase { @BeforeAll public static void initClass() throws Exception { - UtilitiesTestBase.initTestServices(true, true, false); + UtilitiesTestBase.initTestServices(false, true, false); FileSystem fs = UtilitiesTestBase.fs; UtilitiesTestBase.Helpers.copyToDFS( "streamer-config/sql-file-based-source.sql", fs, diff --git a/hudi-utilities/src/test/java/org/apache/hudi/utilities/testutils/sources/AbstractDFSSourceTestBase.java b/hudi-utilities/src/test/java/org/apache/hudi/utilities/testutils/sources/AbstractDFSSourceTestBase.java index f34fc29b91e3..0de087ece73e 100644 --- a/hudi-utilities/src/test/java/org/apache/hudi/utilities/testutils/sources/AbstractDFSSourceTestBase.java +++ b/hudi-utilities/src/test/java/org/apache/hudi/utilities/testutils/sources/AbstractDFSSourceTestBase.java @@ -60,7 +60,7 @@ public abstract class AbstractDFSSourceTestBase extends UtilitiesTestBase { @BeforeAll public static void initClass() throws Exception { - UtilitiesTestBase.initTestServices(true, false, false); + UtilitiesTestBase.initTestServices(false, false, false); } @BeforeEach