Skip to content

Commit

Permalink
apacheGH-38268: [Java] Disable flaky TestFlightSqlStreams
Browse files Browse the repository at this point in the history
Disable the TestFlightSqlStreams test case, which is
currently flaky and sporadically fails with a
memory leak.
  • Loading branch information
jduo committed Oct 17, 2023
1 parent ac581fd commit 480f299
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
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;
Expand Down Expand Up @@ -211,6 +212,7 @@ public static void tearDown() throws Exception {
close(sqlClient, server, allocator);
}

@Disabled("Memory leak GH-38268")
@Test
public void testGetTablesResultNoSchema() throws Exception {
try (final FlightStream stream =
Expand All @@ -230,6 +232,7 @@ public void testGetTablesResultNoSchema() throws Exception {
}
}

@Disabled("Memory leak GH-38268")
@Test
public void testGetTableTypesResult() throws Exception {
try (final FlightStream stream =
Expand All @@ -248,6 +251,7 @@ public void testGetTableTypesResult() throws Exception {
}
}

@Disabled("Memory leak GH-38268")
@Test
public void testGetSqlInfoResults() throws Exception {
final FlightInfo info = sqlClient.getSqlInfo();
Expand All @@ -259,6 +263,7 @@ public void testGetSqlInfoResults() throws Exception {
}
}

@Disabled("Memory leak GH-38268")
@Test
public void testGetTypeInfo() throws Exception {
FlightInfo flightInfo = sqlClient.getXdbcTypeInfo();
Expand All @@ -275,6 +280,7 @@ public void testGetTypeInfo() throws Exception {
}
}

@Disabled("Memory leak GH-38268")
@Test
public void testExecuteQuery() throws Exception {
try (final FlightStream stream = sqlClient
Expand Down

0 comments on commit 480f299

Please sign in to comment.