Skip to content

Commit

Permalink
chore: show JAVA_MAJOR_VERSION in tests output
Browse files Browse the repository at this point in the history
Merge pull request jenkinsci/docker-inbound-agent#376 from lemeurherve/chore-show-jdk-version-in-tests-output
  • Loading branch information
lemeurherve authored Jul 31, 2023
2 parents 2d3e872 + b3d78f7 commit 3a6170f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/inboundAgent.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ Describe "[$global:AGENT_IMAGE] custom build args" {
}

Describe "[$global:AGENT_IMAGE] passing JVM options (slow test)" {
It "shows the java version with --show-version" {
It "shows the java version ${global:JAVA_MAJOR_VERSION} with --show-version" {
$exitCode, $stdout, $stderr = Run-Program 'docker' "network create --driver nat jnlp-network"
# Launch the netcat utility, listening at port 5000 for 30 sec
# bats will capture the output from netcat and compare the first line
Expand Down

0 comments on commit 3a6170f

Please sign in to comment.