Browse code

c8d/docker-py: Temporarily skip test_save_and_load*

They fail because exporting an image which targets a manifest list when
only one platform is available exports only the platform-specific
manifest so the ID of the loaded image is different (ID of the platform
manifest, not manifest list).

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>

Paweł Gronowski authored on 2023/12/19 19:05:51
Showing 1 changed files
... ...
@@ -18,6 +18,10 @@ source hack/make/.integration-test-helpers
18 18
 # build --squash is not supported with containerd integration.
19 19
 if [ -n "$TEST_INTEGRATION_USE_SNAPSHOTTER" ]; then
20 20
 	PY_TEST_OPTIONS="$PY_TEST_OPTIONS --deselect=tests/integration/api_build_test.py::BuildTest::test_build_squash"
21
+
22
+	# TODO(vvoland): re-enable after https://github.com/containerd/containerd/pull/9554 is merged and vendored.
23
+	PY_TEST_OPTIONS="$PY_TEST_OPTIONS --deselect=tests/integration/models_images_test.py::ImageCollectionTest::test_save_and_load"
24
+	PY_TEST_OPTIONS="$PY_TEST_OPTIONS --deselect=tests/integration/models_images_test.py::ImageCollectionTest::test_save_and_load_repo_name"
21 25
 fi
22 26
 (
23 27
 	bundle .integration-daemon-start