From 43a614bec050b44a4019da0b662f60ff0accf547 Mon Sep 17 00:00:00 2001 From: Abubacarr Ceesay Date: Fri, 11 Jul 2025 19:03:19 +0200 Subject: [PATCH] remove test api images history integration cli test suite MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Abubacarr Ceesay (cherry picked from commit 669163c416e1be95467d99bd8659ccced3e7e3fc) Signed-off-by: Paweł Gronowski --- integration-cli/docker_api_images_test.go | 26 ----------------------- 1 file changed, 26 deletions(-) diff --git a/integration-cli/docker_api_images_test.go b/integration-cli/docker_api_images_test.go index 86a740f566..bd57122943 100644 --- a/integration-cli/docker_api_images_test.go +++ b/integration-cli/docker_api_images_test.go @@ -61,32 +61,6 @@ func (s *DockerAPISuite) TestAPIImagesDelete(c *testing.T) { assert.NilError(c, err) } -func (s *DockerAPISuite) TestAPIImagesHistory(c *testing.T) { - apiClient, err := client.NewClientWithOpts(client.FromEnv) - assert.NilError(c, err) - defer apiClient.Close() - - if testEnv.DaemonInfo.OSType != "windows" { - testRequires(c, Network) - } - name := "test-api-images-history" - buildImageSuccessfully(c, name, build.WithDockerfile("FROM busybox\nENV FOO bar")) - id := getIDByName(c, name) - - historydata, err := apiClient.ImageHistory(testutil.GetContext(c), id) - assert.NilError(c, err) - - assert.Assert(c, len(historydata) != 0) - var found bool - for _, tag := range historydata[0].Tags { - if tag == "test-api-images-history:latest" { - found = true - break - } - } - assert.Assert(c, found) -} - func (s *DockerAPISuite) TestAPIImagesImportBadSrc(c *testing.T) { testRequires(c, Network, testEnv.IsLocalDaemon)