Skip to content

Commit

Permalink
Fix version matching in integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Malax committed Nov 28, 2024
1 parent bd86777 commit d3632ad
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions buildpacks/jvm/tests/integration/versions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ fn openjdk_default() {

assert_contains!(
context.run_shell_command("java -version").stderr,
"openjdk version \"21.0.4\""
"openjdk version \"21.0.5\""
);
},
);
Expand All @@ -60,7 +60,7 @@ fn openjdk_functions_default() {

assert_contains!(
context.run_shell_command("java -version").stderr,
"openjdk version \"1.8.0_422\""
"openjdk version \"1.8.0_432\""
);
},
);
Expand All @@ -72,7 +72,7 @@ fn openjdk_8() {
TestRunner::default().build(default_build_config("test-apps/java-8-app"), |context| {
assert_contains!(
context.run_shell_command("java -version").stderr,
"openjdk version \"1.8.0_422\""
"openjdk version \"1.8.0_432\""
);
});
}
Expand All @@ -83,7 +83,7 @@ fn openjdk_11() {
TestRunner::default().build(default_build_config("test-apps/java-11-app"), |context| {
assert_contains!(
context.run_shell_command("java -version").stderr,
"openjdk version \"11.0.24\""
"openjdk version \"11.0.25\""
);
});
}
Expand All @@ -94,7 +94,7 @@ fn openjdk_17() {
TestRunner::default().build(default_build_config("test-apps/java-17-app"), |context| {
assert_contains!(
context.run_shell_command("java -version").stderr,
"openjdk version \"17.0.12\""
"openjdk version \"17.0.13\""
);
});
}
Expand All @@ -105,7 +105,7 @@ fn openjdk_21() {
TestRunner::default().build(default_build_config("test-apps/java-21-app"), |context| {
assert_contains!(
context.run_shell_command("java -version").stderr,
"openjdk version \"21.0.4\""
"openjdk version \"21.0.5\""
);
});
}
Expand All @@ -116,7 +116,7 @@ fn openjdk_23() {
TestRunner::default().build(default_build_config("test-apps/java-23-app"), |context| {
assert_contains!(
context.run_shell_command("java -version").stderr,
"openjdk version \"23\""
"openjdk version \"23.0.1\""
);
});
}

0 comments on commit d3632ad

Please sign in to comment.