Skip to content

Avoid hardcoded patch version in UpdateSdkManTest - #1183

Merged
timtebeek merged 1 commit into
mainfrom
tim/fix-sdkman-test-hardcoded-version
Aug 3, 2026
Merged

Avoid hardcoded patch version in UpdateSdkManTest#1183
timtebeek merged 1 commit into
mainfrom
tim/fix-sdkman-test-hardcoded-version

Conversation

@timtebeek

Copy link
Copy Markdown
Member

The nightly SDKMAN! candidates refresh (a6935d7) added 21.0.12-tem, which broke upgradeIfNewVersionIsStillSameVersionBasisAndDifferentDistribution's hardcoded 21.0.11-tem expectation and failed the nightly main build.

Switched the assertion to check the version basis and distribution rather than the exact patch version, matching the style of the neighbouring tests.

The nightly SDKMAN! candidates refresh added 21.0.12-tem, breaking the
hardcoded 21.0.11-tem expectation. Assert on the version basis and
distribution instead, matching the surrounding tests.
@github-project-automation github-project-automation Bot moved this to In Progress in OpenRewrite Aug 3, 2026
@timtebeek
timtebeek merged commit d2582af into main Aug 3, 2026
1 check passed
@timtebeek
timtebeek deleted the tim/fix-sdkman-test-hardcoded-version branch August 3, 2026 19:55
@github-project-automation github-project-automation Bot moved this from In Progress to Done in OpenRewrite Aug 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant