Skip to content

Commit

Permalink
Dummy commit to repeat tests 10 times
Browse files Browse the repository at this point in the history
  • Loading branch information
jduo committed Nov 14, 2023
1 parent 5137755 commit 1edc865
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.RepeatedTest;
import org.junit.jupiter.api.Test;

import com.google.common.collect.ImmutableList;
Expand All @@ -66,7 +67,7 @@ public void validAuth() {
Assertions.assertTrue(ImmutableList.copyOf(client.listFlights(Criteria.ALL)).size() == 0);
}

@Test
@RepeatedTest(10)
public void asyncCall() throws Exception {
client.authenticateBasic(USERNAME, PASSWORD);
client.listFlights(Criteria.ALL);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.RepeatedTest;
import org.junit.jupiter.api.Test;

import com.google.common.base.Strings;
Expand Down Expand Up @@ -158,7 +159,7 @@ public void validAuthWithMultipleClientsWithDifferentCredentialsWithBearerAuthSe
testValidAuthWithMultipleClientsWithDifferentCredentials(client, client2);
}

@Test
@RepeatedTest(10)
public void asyncCall() throws Exception {
final CredentialCallOption bearerToken = client
.authenticateBasicToken(USERNAME_1, PASSWORD_1).get();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +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.Test;
import org.junit.jupiter.api.RepeatedTest;

import com.google.common.collect.ImmutableList;
import com.google.protobuf.Any;
Expand Down Expand Up @@ -215,7 +215,7 @@ public static void tearDown() throws Exception {
close(allocator);
}

@Test
@RepeatedTest(10)
public void testGetTablesResultNoSchema() throws Exception {
try (final FlightStream stream =
sqlClient.getStream(
Expand All @@ -234,7 +234,7 @@ public void testGetTablesResultNoSchema() throws Exception {
}
}

@Test
@RepeatedTest(10)
public void testGetTableTypesResult() throws Exception {
try (final FlightStream stream =
sqlClient.getStream(sqlClient.getTableTypes().getEndpoints().get(0).getTicket())) {
Expand All @@ -252,7 +252,7 @@ public void testGetTableTypesResult() throws Exception {
}
}

@Test
@RepeatedTest(10)
public void testGetSqlInfoResults() throws Exception {
final FlightInfo info = sqlClient.getSqlInfo();
try (final FlightStream stream = sqlClient.getStream(info.getEndpoints().get(0).getTicket())) {
Expand All @@ -263,7 +263,7 @@ public void testGetSqlInfoResults() throws Exception {
}
}

@Test
@RepeatedTest(10)
public void testGetTypeInfo() throws Exception {
FlightInfo flightInfo = sqlClient.getXdbcTypeInfo();

Expand All @@ -279,7 +279,7 @@ public void testGetTypeInfo() throws Exception {
}
}

@Test
@RepeatedTest(10)
public void testExecuteQuery() throws Exception {
try (final FlightStream stream = sqlClient
.getStream(sqlClient.execute(FlightSqlTestProducer.FIXED_QUERY).getEndpoints().get(0).getTicket())) {
Expand Down

0 comments on commit 1edc865

Please sign in to comment.