Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 23 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@
<configuration>
<exclude>com.google.cloud.spanner.IntegrationTest</exclude>
<reportNameSuffix>sponge_log</reportNameSuffix>
</configuration>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand All @@ -246,9 +246,6 @@
</goals>
<configuration>
<groups>com.google.cloud.spanner.IntegrationTest</groups>
<excludedGroups>
Copy link
Copy Markdown
Contributor Author

@mpeddada1 mpeddada1 Apr 11, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Including ParallelIntegrationTests results in a few issues in the standard Java job:

com.google.cloud.spanner.jdbc.JdbcSqlExceptionFactory$JdbcSqlExceptionImpl: INVALID_ARGUMENT: com.google.api.gax.rpc.InvalidArgumentException: io.grpc.StatusRuntimeException: INVALID_ARGUMENT: [ERROR] relation "concerts" does not exist

com.google.cloud.spanner.FlakyTest,com.google.cloud.spanner.ParallelIntegrationTest
</excludedGroups>
</configuration>
</execution>
<execution>
Expand All @@ -267,6 +264,28 @@
</execution>
</executions>
</plugin>

<!-- Native tests use maven-surefire-plugin to run both integration tests and unit test-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemPropertyVariables>
<spanner.testenv.config.class>
com.google.cloud.spanner.GceTestEnvConfig
</spanner.testenv.config.class>
<spanner.testenv.instance>
projects/gcloud-devel/instances/spanner-testing-east1
</spanner.testenv.instance>
</systemPropertyVariables>
<forkedProcessTimeoutInSeconds>2400</forkedProcessTimeoutInSeconds>
<excludedGroups>
com.google.cloud.spanner.FlakyTest,com.google.cloud.spanner.ParallelIntegrationTest
</excludedGroups>
</configuration>
</plugin>
<!-- Native tests use maven-surefire-plugin to run both integration tests and unit test-->

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@
@RunWith(JUnit4.class)
public class ITJdbcConnectTest extends ITAbstractJdbcTest {

static {
System.out.println("TESTING");
}

private String createBaseUrl() {
StringBuilder url = new StringBuilder("jdbc:cloudspanner:");
if (EmulatorSpannerHelper.isUsingEmulator()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -613,6 +613,7 @@ public void test04_Timestamps() throws SQLException {
ps.setTimestamp(4, testTimestamp);
ps.setTimestamp(5, testTimestamp, testCalendar);
ps.setArray(6, connection.createArrayOf("INT64", new Long[] {}));
System.out.println("TIMEESTAMPS BEFORE EXECUTE STATEMENT");
ps.executeUpdate();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ public static List<DialectTestParameter> data() {

@Override
public Dialect getDialect() {
System.out.println("*****DIALECT*****");
System.out.println(dialect);
return dialect.dialect;
}

Expand Down