Skip to content

Commit

Permalink
update test constants
Browse files Browse the repository at this point in the history
  • Loading branch information
gesellix committed Jul 20, 2021
1 parent 1b56270 commit 4ffe77e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -593,12 +593,9 @@ class DockerImageIntegrationSpec extends Specification {
def history = dockerClient.history(imageId).content

then:
history.collect { it.Id } == [
CONSTANTS.imageDigest,
"<missing>",
"<missing>",
"<missing>"
]
List<String> imageIds = history.collect { it.Id }
imageIds.first() == CONSTANTS.imageDigest
imageIds.last() == "<missing>"
}

def "list images"() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ class TestConstants {
if (LocalDocker.isNativeWindows()) {
imageRepo = "gesellix/testimage"
imageTag = "os-windows"
imageDigest = "sha256:5880c6a3a386d67cd02b0ee4684709f9c966225270e97e0396157894ae74dbe6"
imageCreated = 1575214105
imageDigest = "sha256:21ef7773618aed0ad91c8171698f8ad75ae5927fb8e68b444e9c716cb6450447"
imageCreated = 1625426527
}
else {
imageRepo = "gesellix/testimage"
Expand Down

0 comments on commit 4ffe77e

Please sign in to comment.