Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@ public void testInstallUninstall()
{
// Release names as in the https://api.adoptium.net/q/swagger-ui/#/Release%20Info/getReleaseNames
testInstall("jdk-21.0.2+13", "/usr/lib/jvm/temurin-21", "21");
testUninstall("jdk-21.0.2+13", "/usr/lib/jvm/temurin-21", "21");
testUninstall("jdk-21.0.2+13", "/usr/lib/jvm/temurin-21");

testInstall("jdk-22+36", "/usr/lib/jvm/temurin-22", "22");
testUninstall("jdk-22+36", "/usr/lib/jvm/temurin-22", "22");
testUninstall("jdk-22+36", "/usr/lib/jvm/temurin-22");
}

private void testInstall(String temurinReleaseName, String javaHome, String expectedJavaVersion)
Expand Down Expand Up @@ -121,7 +121,7 @@ private void testInstall(String temurinReleaseName, String javaHome, String expe
}


private void testUninstall(String temurinReleaseName, String javaHome, String expectedJavaVersion)
private void testUninstall(String temurinReleaseName, String javaHome)
throws Exception
{
String rpm = "/" + new File(rpmHostPath).getName();
Expand Down