Przeglądaj źródła

skip TestAuthApi if no network is available

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sebastiaan van Stijn 9 lat temu
rodzic
commit
2fae3d2693
1 zmienionych plików z 1 dodań i 0 usunięć
  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",