浏览代码

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",