Skip to content

Comments

Fix UpdateSdkManTest to use current SDKMAN Java versions#991

Merged
timtebeek merged 1 commit intomainfrom
timtebeek/fix-ci-failures
Feb 23, 2026
Merged

Fix UpdateSdkManTest to use current SDKMAN Java versions#991
timtebeek merged 1 commit intomainfrom
timtebeek/fix-ci-failures

Conversation

@timtebeek
Copy link
Member

Summary

Fixes CI failures caused by the automated SDKMAN Java candidates update (commit 7c8b223) which removed Java versions that two tests were expecting.

The tests updateVersionExact() and updateDistributionOnly() were failing because they referenced 17.0.17-tem and 11.0.29-amzn respectively, which no longer exist in the CSV. Updated test fixtures to use 17.0.18-tem and 11.0.30-amzn which are available in the current CSV.

Test plan

  • Run ./gradlew test --tests "org.openrewrite.java.migrate.UpdateSdkManTest" - all tests pass

Update test fixtures to use Java versions available in the current sdkman-java.csv after the automated update removed 17.0.17-tem and 11.0.29-amzn.
@github-project-automation github-project-automation bot moved this to In Progress in OpenRewrite Feb 23, 2026
@timtebeek timtebeek merged commit 0b2cb73 into main Feb 23, 2026
1 check passed
@timtebeek timtebeek deleted the timtebeek/fix-ci-failures branch February 23, 2026 18:44
@github-project-automation github-project-automation bot moved this from In Progress to Done in OpenRewrite Feb 23, 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