Sfoglia il codice sorgente

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

skip TestAuthApi if no network is available
Alexander Morozov 9 anni fa
parent
commit
1b4286f40d
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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
 // Test case for #22244
 func (s *DockerSuite) TestAuthApi(c *check.C) {
 func (s *DockerSuite) TestAuthApi(c *check.C) {
+	testRequires(c, Network)
 	config := types.AuthConfig{
 	config := types.AuthConfig{
 		Username: "no-user",
 		Username: "no-user",
 		Password: "no-password",
 		Password: "no-password",