Преглед на файлове

Merge pull request #22306 from thaJeztah/update-integration-test-network-only

skip TestAuthApi if no network is available
Alexander Morozov преди 9 години
родител
ревизия
1b4286f40d
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      integration-cli/docker_api_auth_test.go

+ 1 - 0
integration-cli/docker_api_auth_test.go

@@ -10,6 +10,7 @@ import (
 
 // Test case for #22244
 func (s *DockerSuite) TestAuthApi(c *check.C) {
+	testRequires(c, Network)
 	config := types.AuthConfig{
 		Username: "no-user",
 		Password: "no-password",