## 135. `JpaPlatformContractSupport`의 컨테이너 수명 서술은 실제와 다르다 클래스 javadoc은 이렇게 말한다. > The containers are shared for the JVM: the contracts verify server behaviour, which does not change between test classes, and **starting a server per class turns a three-version matrix into minutes of container startup.** 실제 사용은 정확히 그 "per class"다. `JpaPlatformContractSupport.start()` 호출 지점은 31곳이고 대부분 `@BeforeAll`에서 시작해 `@AfterAll`에서 `close()`한다. JVM 수준 공유 인스턴스나 static holder는 없다. `StablePostgreSqlMatrixContractTest`는 test마다, `JpaPlatformContractSupportOwnershipTest`는 test마다(5개) 컨테이너를 새로 띄운다. 실측치는 다음과 같다(`115-integration-lane-original-verification.txt`, XML의 Testcontainers 로그 집계). | lane | 클래스 | tests | skipped | failures | PostgreSQL 컨테이너 기동 | |---|---:|---:|---:|---:|---:| | jpaPlatformContractTest | 36 | 182 | 0 | 0 | 49 | | jpaPlatformMigrationTest | 10 | 43 | 0 | 0 | 33 | | jpaPlatformFailureTest | 2 | 6 | 0 | 0 | 2 |