Skip to content

Commit

Permalink
apacheGH-38268: [Java] Disable flaky TestFlightSqlStreams (apache#38319)
Browse files Browse the repository at this point in the history
### 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: apache#38268

Authored-by: James Duong <duong.james@gmail.com>
Signed-off-by: David Li <li.davidm96@gmail.com>
  • Loading branch information
jduo authored and Jeremy Aguilon committed Oct 23, 2023
1 parent 55316c3 commit e132be7
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 e132be7

Please sign in to comment.