moby/integration/image
Paweł Gronowski 05523e289b
c8d/integration: Adjust TestSaveCheckTimes
The graphdriver implementation sets the ModTime of all image content to
match the `Created` time from the image config, whereas the containerd's
archive export code just leaves it empty (zero).

Adjust the test in the case where containerd integration is enabled to
check if config file ModTime is equal to zero (UNIX epoch) instead.

This behaviour is not a part of the Docker Image Specification and the
intention behind introducing it was to make the `docker save` produce
the same archive regardless of the time it was performed.

It would also be a bit problematic with the OCI archive layout which can
contain multiple images referencing the same content.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2023-11-24 14:49:02 +01:00
..
commit_test.go test: Add a test for userns remapped daemon commit 2023-11-08 12:33:03 +01:00
import_test.go c8d integration: skip TestImportWithCustomPlatform 2023-10-16 18:08:36 +01:00
inspect_test.go Wire up tests to support otel tracing 2023-09-07 18:38:22 +00:00
list_test.go Add until filter to docker image ls 2023-11-08 12:12:23 +01:00
main_test.go Wire up tests to support otel tracing 2023-09-07 18:38:22 +00:00
prune_test.go Wire up tests to support otel tracing 2023-09-07 18:38:22 +00:00
pull_test.go TestPullNonExistingImage: Move to integration 2023-10-10 13:36:29 +02:00
remove_test.go api/types: move ContainerCommitOptions to api/types/container 2023-10-12 11:29:23 +02:00
remove_unix_test.go c8d: Skip TestRemoveImageGarbageCollector 2023-09-18 14:35:57 +02:00
save_test.go c8d/integration: Adjust TestSaveCheckTimes 2023-11-24 14:49:02 +01:00
tag_test.go Wire up tests to support otel tracing 2023-09-07 18:38:22 +00:00