Skip to content

Add possibility to specify local testcontainer parameters for integration tests. #3061

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

Closed
sothawo opened this issue Feb 19, 2025 · 0 comments · Fixed by #3062
Closed

Add possibility to specify local testcontainer parameters for integration tests. #3061

sothawo opened this issue Feb 19, 2025 · 0 comments · Fixed by #3062
Assignees
Labels
type: enhancement A general enhancement

Comments

@sothawo
Copy link
Collaborator

sothawo commented Feb 19, 2025

Currently on my macOS 15.3 with M4 silicon chip the Elasticsearch docker container crashes (the JVM) in there. This is a known bug in OpenJDK. Until this is fixed I need to add these entries to the environment:

  • CLI_JAVA_OPTS=-XX:UseSVE=0
  • ES_JAVA_OPTS=-XX:UseSVE=0

In order to not have this on other machines, these values should go into a testcontainers-local.properties file which is git-ignored.

@sothawo sothawo added the type: enhancement A general enhancement label Feb 19, 2025
@sothawo sothawo self-assigned this Feb 19, 2025
sothawo added a commit to sothawo/spring-data-elasticsearch that referenced this issue Feb 19, 2025
sothawo added a commit that referenced this issue Feb 19, 2025
Original Pull Request #3062
Closes #3061

Signed-off-by: Peter-Josef Meisch <[email protected]>
sothawo added a commit that referenced this issue Mar 9, 2025
Original Pull Request #3062
Closes #3061

Signed-off-by: Peter-Josef Meisch <[email protected]>
(cherry picked from commit 64f88ae)
sothawo added a commit that referenced this issue Mar 9, 2025
Original Pull Request #3062
Closes #3061

Signed-off-by: Peter-Josef Meisch <[email protected]>
(cherry picked from commit 64f88ae)
(cherry picked from commit 8558c44)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant