Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

Commit a061b1e

Browse files
committed
Adjust API version to match correct release
This fix was not yet included in Docker 17.05, so API version v1.37 was not the right selector (Docker 18.03, 18.04 and 18.05 all support API v1.37). We should change these checks for engine versions, or use a different method to skip tests when running against older engines. Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent df5175e commit a061b1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

integration/build/build_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ func TestBuildMultiStageParentConfig(t *testing.T) {
175175

176176
// Test cases in #36996
177177
func TestBuildLabelWithTargets(t *testing.T) {
178-
skip.If(t, versions.LessThan(testEnv.DaemonAPIVersion(), "1.37"), "test added after 1.37")
178+
skip.If(t, versions.LessThan(testEnv.DaemonAPIVersion(), "1.38"), "test added after 1.38")
179179
bldName := "build-a"
180180
testLabels := map[string]string{
181181
"foo": "bar",

0 commit comments

Comments
 (0)