Selaa lähdekoodia

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 <github@gone.nl>
Sebastiaan van Stijn 7 vuotta sitten
vanhempi
commit
a061b1e2d8
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      integration/build/build_test.go

+ 1 - 1
integration/build/build_test.go

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