-
Notifications
You must be signed in to change notification settings - Fork 1.2k
fix: add mount-with write for java25 tests #8579
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
Conversation
|
Integ test run: https://github.com/aws/aws-sam-cli/actions/runs/21048079873 |
|
|
||
| overrides = self.get_override(runtime, code_path, architecture, "aws.example.Hello::myHandler") | ||
| cmdlist = self.get_command_list(use_container=use_container, parameter_overrides=overrides) | ||
| mount_with = MountMode.WRITE if use_container and str(runtime).lower() == "java25" else None |
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.
If I remember correctly, in practice we need mount-with-write only for the Gradle tests. Is it possible to add this only for those?
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.
yup that's what I'm adding now since I noticed the maven tests failing that weren't failing before. new integ test run https://github.com/aws/aws-sam-cli/actions/runs/21051712748
Which issue(s) does this change fix?
Why is this change necessary?
Gradle 9 (which Java25 uses) requires the addition of the --mount-with WRITE flag.
How does it address the issue?
What side effects does this change have?
Mandatory Checklist
PRs will only be reviewed after checklist is complete
make prpassesmake update-reproducible-reqsif dependencies were changedBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.