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
Enhancement/test container reuse #2883
base: master
Are you sure you want to change the base?
Enhancement/test container reuse #2883
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@smcvb do i need to do anything about the failing checks? |
I am wondering if it isn't easier to use the |
@abuijze does using the env variable negate the need to call the |
Yes, it should. I think the con te ainer uses the init method as that has always been the way for the Enterprise Edition. But since the two versions are merged into a single deliverable (v2023.0), we have the environment variable to do that as well. |
The issue in the JDK17 build also happens on our automated dependabot PRs. The issue with the JDK21 build comes from time-based tests. |
Although the |
I have just uncovered why the Normally I would find a workaround ASAP to be sure the JDK17 and (as it turns out) JDK21 processes work as intended. Long story short: you don't have to do anything about the failing JDK17 and JDK21 builds. |
When using the Axon test container, if you set the reuse flag to true, the current setup always tries to initialize the container contexts, we should check if reuse has been set to true and also if the container has already been initialized before re-initializing