Skip to content
Merged
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
2 changes: 1 addition & 1 deletion google-cloud-spanner/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
</goals>
<configuration>
<groups>com.google.cloud.spanner.ParallelIntegrationTest</groups>
<forkCount>8</forkCount>
<forkCount>12</forkCount>
<reuseForks>true</reuseForks>
<groups>com.google.cloud.spanner.ParallelIntegrationTest</groups>
</configuration>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@

/**
* Test opening multiple generic (not JDBC) Spanner connections. This test should not be run in
* parallel with other tests, as it tries to close all active connections, and should not try to
* close connections of other integration tests.
* parallel with other tests in the same JVM, as it tries to close all active connections, and
* should not try to close connections of other integration tests.
*/
@Category(SerialIntegrationTest.class)
@RunWith(JUnit4.class)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,18 @@

package com.google.cloud.spanner.connection.it;

import com.google.cloud.spanner.ParallelIntegrationTest;
import com.google.cloud.spanner.connection.ITAbstractSpannerTest;
import com.google.cloud.spanner.connection.SqlScriptVerifier;
import com.google.cloud.spanner.connection.SqlScriptVerifier.SpannerGenericConnection;
import org.junit.Before;
import org.junit.Test;
import org.junit.experimental.categories.Category;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;

@Category(ParallelIntegrationTest.class)
@RunWith(JUnit4.class)
public class ITQueryOptionsTest extends ITAbstractSpannerTest {

private static final String TEST_QUERY_OPTIONS = "ITSqlScriptTest_TestQueryOptions.sql";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
import com.google.cloud.spanner.KeySet;
import com.google.cloud.spanner.Mutation;
import com.google.cloud.spanner.Options;
import com.google.cloud.spanner.SerialIntegrationTest;
import com.google.cloud.spanner.ParallelIntegrationTest;
import com.google.cloud.spanner.SpannerException;
import com.google.cloud.spanner.Statement;
import com.google.cloud.spanner.Struct;
Expand All @@ -68,7 +68,7 @@
import org.junit.runners.JUnit4;

/** Integration tests for asynchronous APIs. */
@Category(SerialIntegrationTest.class)
@Category(ParallelIntegrationTest.class)
@RunWith(JUnit4.class)
public class ITAsyncAPITest {
@ClassRule public static IntegrationTestEnv env = new IntegrationTestEnv();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
import com.google.cloud.spanner.Key;
import com.google.cloud.spanner.KeySet;
import com.google.cloud.spanner.Mutation;
import com.google.cloud.spanner.ParallelIntegrationTest;
import com.google.cloud.spanner.ReadOnlyTransaction;
import com.google.cloud.spanner.SerialIntegrationTest;
import com.google.cloud.spanner.SpannerException;
import com.google.cloud.spanner.Statement;
import com.google.cloud.spanner.Struct;
Expand All @@ -59,7 +59,7 @@
import org.junit.runners.JUnit4;

/** Integration tests for asynchronous APIs. */
@Category(SerialIntegrationTest.class)
@Category(ParallelIntegrationTest.class)
@RunWith(JUnit4.class)
public class ITAsyncExamplesTest {
@ClassRule public static IntegrationTestEnv env = new IntegrationTestEnv();
Expand Down