Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
Signed-off-by: Damien Duportal <[email protected]>
  • Loading branch information
dduportal committed Sep 29, 2022
1 parent f927bb3 commit 8c8d92b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
7 changes: 1 addition & 6 deletions tests/inboundAgent.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -129,13 +129,8 @@ Describe "[$global:JDK $global:FLAVOR] build args" {
BeforeAll {
Push-Location -StackName 'agent' -Path "$PSScriptRoot/.."
# an old jdk11 image version
$TEST_VERSION="4.7"
$TEST_VERSION="3063.v26e24490f041"
$DOCKER_AGENT_VERSION_SUFFIX="1"
if($global:JDK -eq '17') {
# the first jdk17 images for Windows
$TEST_VERSION = "4.10"
$DOCKER_AGENT_VERSION_SUFFIX="7"
}
$TEST_USER="foo"
$ARG_TEST_VERSION="${TEST_VERSION}-${DOCKER_AGENT_VERSION_SUFFIX}"
}
Expand Down
4 changes: 2 additions & 2 deletions tests/tests.bats
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ SUT_IMAGE=$(get_sut_image)
cd "${BATS_TEST_DIRNAME}"/.. || false

local ARG_TEST_VERSION
local TEST_VERSION="4.3"
local DOCKER_AGENT_VERSION_SUFFIX="4"
local TEST_VERSION="3063.v26e24490f041"
local DOCKER_AGENT_VERSION_SUFFIX="1"
local TEST_USER="root"
local ARG_TEST_VERSION="${TEST_VERSION}-${DOCKER_AGENT_VERSION_SUFFIX}"

Expand Down

0 comments on commit 8c8d92b

Please sign in to comment.