Browse Source

Merge branch '3.2.x' into 3.3.x

pull/41251/head
Phillip Webb 2 years ago
parent
commit
26ea4f9fb1
  1. 2
      spring-boot-project/spring-boot-testcontainers/src/test/java/org/springframework/boot/testcontainers/lifecycle/TestcontainersLifecycleOrderWithScopeIntegrationTests.java

2
spring-boot-project/spring-boot-testcontainers/src/test/java/org/springframework/boot/testcontainers/lifecycle/TestcontainersLifecycleOrderWithScopeIntegrationTests.java

@ -187,7 +187,7 @@ class TestcontainersLifecycleOrderWithScopeIntegrationTests { @@ -187,7 +187,7 @@ class TestcontainersLifecycleOrderWithScopeIntegrationTests {
return null;
}
public void destroy() {
void destroy() {
synchronized (this) {
this.destructors.forEach((name, actions) -> actions.forEach(Runnable::run));
this.destructors.clear();

Loading…
Cancel
Save