Skip TestImagesFilterMultiReference on API < v1.40
@@ -6,12 +6,15 @@ import (
"github.com/docker/docker/api/types"
"github.com/docker/docker/api/types/filters"
+ "github.com/docker/docker/api/types/versions"
"gotest.tools/assert"
is "gotest.tools/assert/cmp"
+ "gotest.tools/skip"
)
// Regression : #38171
func TestImagesFilterMultiReference(t *testing.T) {
+ skip.If(t, versions.LessThan(testEnv.DaemonAPIVersion(), "1.40"), "broken in earlier versions")
defer setupTest(t)()
client := testEnv.APIClient()
ctx := context.Background()
