Skip to content

Commit 62cdd43

Browse files
disable parallel execution
1 parent dc0422b commit 62cdd43

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

google-cloud-spanner/pom.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
<spanner.gce.config.project_id>${spanner.gce.config.project_id}</spanner.gce.config.project_id>
6666
<spanner.testenv.kms_key.name>${spanner.testenv.kms_key.name}</spanner.testenv.kms_key.name>
6767
</systemPropertyVariables>
68-
68+
<parallel>none</parallel>
6969
</configuration>
7070
</execution>
7171
<execution>
@@ -89,6 +89,7 @@
8989
<spanner.gce.config.project_id>${spanner.gce.config.project_id}</spanner.gce.config.project_id>
9090
<spanner.testenv.kms_key.name>${spanner.testenv.kms_key.name}</spanner.testenv.kms_key.name>
9191
</systemPropertyVariables>
92+
<parallel>none</parallel>
9293
<forkedProcessTimeoutInSeconds>3000</forkedProcessTimeoutInSeconds>
9394
</configuration>
9495
<executions>
@@ -514,6 +515,7 @@
514515
<id>default-test</id>
515516
<configuration>
516517
<groups>com.google.cloud.spanner.SlowTest</groups>
518+
<parallel>none</parallel>
517519
</configuration>
518520
</execution>
519521
</executions>

google-cloud-spanner/src/test/java/com/google/cloud/spanner/RetryOnInvalidatedSessionTest.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,14 @@ public Long apply(StructReader input) {
8989
protected void starting(Description description) {
9090
System.out.println("Starting test: " + description.getMethodName());
9191
}
92+
93+
protected void succeeded(Description description) {
94+
System.out.println("Succeeded test: " + description.getMethodName());
95+
}
96+
97+
protected void failed(Throwable e, Description description) {
98+
System.out.println("Failed test: " + description.getMethodName());
99+
}
92100
};
93101

94102
@Parameters(name = "fail on invalidated session = {0}")

0 commit comments

Comments
 (0)