-
Notifications
You must be signed in to change notification settings - Fork 40.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@ServiceConnection is not working with @RestartScope in 3.2.0-RC1 #37989
Labels
theme: containers
Testcontainers, Docker Compose and Buildpack features
type: regression
A regression from a previous release
Milestone
Comments
spring-projects-issues
added
the
status: waiting-for-triage
An issue we've not yet triaged
label
Oct 22, 2023
mhalbritter
added
type: regression
A regression from a previous release
theme: containers
Testcontainers, Docker Compose and Buildpack features
and removed
status: waiting-for-triage
An issue we've not yet triaged
labels
Oct 23, 2023
Stacktrace is:
|
philwebb
changed the title
@ServiceConnection is not working with @RestartScope in 3.2.0-RC1
Oct 24, 2023
@ServiceConnection
is not working with @RestartScope
in 3.2.0-RC1
I can confirm it works. Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
theme: containers
Testcontainers, Docker Compose and Buildpack features
type: regression
A regression from a previous release
Section Using DevTools with Testcontainers at Development Time in docs shows how
@RestartScope
works with existingServiceConnection
implementations. This behavior works in3.1.5
and3.2.0-M3
but not anymore in3.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
andproducer
folder. Any of them can be used to reproduce it.Also, the code snippet is missing
@ServiceConnection
.The text was updated successfully, but these errors were encountered: