Skip to content

@ServiceConnection is not working with @RestartScope in 3.2.0-RC1 #37989

@eddumelendez

Description

@eddumelendez

Section Using DevTools with Testcontainers at Development Time in docs shows how @RestartScope works with existing ServiceConnection implementations. This behavior works in 3.1.5 and 3.2.0-M3 but not anymore in 3.2.0-RC1. This result in application trying to start with no containers initialized.

This issue is different than #35786

Reproducer: this project contains a consumer and producer folder. Any of them can be used to reproduce it.

Also, the code snippet is missing @ServiceConnection.

Metadata

Metadata

Assignees

Labels

theme: containersTestcontainers, Docker Compose and Buildpack featurestype: regressionA regression from a previous release

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions