This is an automated email from the ASF dual-hosted git repository.
lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new cda7ffc67a GH-38268: [Java] Disable flaky TestFlightSqlStreams (#38319)
cda7ffc67a is described below
commit cda7ffc67abf6c8b9170cc2606acf1a704b161eb
Author: James Duong <[email protected]>
AuthorDate: Fri Oct 20 07:17:35 2023 -0700
GH-38268: [Java] Disable flaky TestFlightSqlStreams (#38319)
### Rationale for this change
The TestFlightSqlStreams test is failing sporadically in CI.
### What changes are included in this PR?
Disables the tests for now.
### Are these changes tested?
N/A
### Are there any user-facing changes?
No.
* Closes: #38268
Authored-by: James Duong <[email protected]>
Signed-off-by: David Li <[email protected]>
---
.../src/test/java/org/apache/arrow/flight/TestFlightSqlStreams.java | 6 ++++++
1 file changed, 6 insertions(+)
diff --git
a/java/flight/flight-sql/src/test/java/org/apache/arrow/flight/TestFlightSqlStreams.java
b/java/flight/flight-sql/src/test/java/org/apache/arrow/flight/TestFlightSqlStreams.java
index 4672e0a141..11d00742fd 100644
---
a/java/flight/flight-sql/src/test/java/org/apache/arrow/flight/TestFlightSqlStreams.java
+++
b/java/flight/flight-sql/src/test/java/org/apache/arrow/flight/TestFlightSqlStreams.java
@@ -46,6 +46,7 @@ import org.hamcrest.MatcherAssert;
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.BeforeAll;
+import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import com.google.common.collect.ImmutableList;
@@ -211,6 +212,7 @@ public class TestFlightSqlStreams {
close(sqlClient, server, allocator);
}
+ @Disabled("Memory leak GH-38268")
@Test
public void testGetTablesResultNoSchema() throws Exception {
try (final FlightStream stream =
@@ -230,6 +232,7 @@ public class TestFlightSqlStreams {
}
}
+ @Disabled("Memory leak GH-38268")
@Test
public void testGetTableTypesResult() throws Exception {
try (final FlightStream stream =
@@ -248,6 +251,7 @@ public class TestFlightSqlStreams {
}
}
+ @Disabled("Memory leak GH-38268")
@Test
public void testGetSqlInfoResults() throws Exception {
final FlightInfo info = sqlClient.getSqlInfo();
@@ -259,6 +263,7 @@ public class TestFlightSqlStreams {
}
}
+ @Disabled("Memory leak GH-38268")
@Test
public void testGetTypeInfo() throws Exception {
FlightInfo flightInfo = sqlClient.getXdbcTypeInfo();
@@ -275,6 +280,7 @@ public class TestFlightSqlStreams {
}
}
+ @Disabled("Memory leak GH-38268")
@Test
public void testExecuteQuery() throws Exception {
try (final FlightStream stream = sqlClient