Skip to content

Commit

Permalink
disable parallel execution
Browse files Browse the repository at this point in the history
  • Loading branch information
sakthivelmanii committed Jan 6, 2025
1 parent dc0422b commit 62cdd43
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
4 changes: 3 additions & 1 deletion google-cloud-spanner/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
<spanner.gce.config.project_id>${spanner.gce.config.project_id}</spanner.gce.config.project_id>
<spanner.testenv.kms_key.name>${spanner.testenv.kms_key.name}</spanner.testenv.kms_key.name>
</systemPropertyVariables>

<parallel>none</parallel>
</configuration>
</execution>
<execution>
Expand All @@ -89,6 +89,7 @@
<spanner.gce.config.project_id>${spanner.gce.config.project_id}</spanner.gce.config.project_id>
<spanner.testenv.kms_key.name>${spanner.testenv.kms_key.name}</spanner.testenv.kms_key.name>
</systemPropertyVariables>
<parallel>none</parallel>
<forkedProcessTimeoutInSeconds>3000</forkedProcessTimeoutInSeconds>
</configuration>
<executions>
Expand Down Expand Up @@ -514,6 +515,7 @@
<id>default-test</id>
<configuration>
<groups>com.google.cloud.spanner.SlowTest</groups>
<parallel>none</parallel>
</configuration>
</execution>
</executions>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,14 @@ public Long apply(StructReader input) {
protected void starting(Description description) {
System.out.println("Starting test: " + description.getMethodName());
}

protected void succeeded(Description description) {
System.out.println("Succeeded test: " + description.getMethodName());
}

protected void failed(Throwable e, Description description) {
System.out.println("Failed test: " + description.getMethodName());
}
};

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

0 comments on commit 62cdd43

Please sign in to comment.