Skip to content

fix(tests): correct SapMachine and Tomcat version assertion strings#1315

Merged
ramonskie merged 2 commits into
cloudfoundry:mainfrom
stokpop:fix/integration-test-assertions-pr1288
Jun 10, 2026
Merged

fix(tests): correct SapMachine and Tomcat version assertion strings#1315
ramonskie merged 2 commits into
cloudfoundry:mainfrom
stokpop:fix/integration-test-assertions-pr1288

Conversation

@stokpop

@stokpop stokpop commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Summary

No functional code changes — test assertions only.

stokpop added 2 commits June 10, 2026 07:45
cloudfoundry#1288 BaseJRE refactor renamed the install log from
"Installing SAP Machine" to "Installing SapMachine"; four
assertions in tomcat_test.go and java_main_test.go were missed.
Commit 90abbc2 changed the log format from
"Installed Tomcat version %s" to "Installed Tomcat (%s)" but did not
update the integration test assertions that matched "Tomcat 9" and
"Tomcat 10". Those substrings no longer appear in the output, causing
all JRE-selection Tomcat tests to fail.
@stokpop stokpop requested a review from ramonskie June 10, 2026 09:45
@ramonskie ramonskie merged commit 3ca64eb into cloudfoundry:main Jun 10, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants