Skip to content

Commit

Permalink
Merge pull request moby#37440 from msabansal/errorfix
Browse files Browse the repository at this point in the history
Fix error string in docker CLI test
  • Loading branch information
thaJeztah committed Jul 12, 2018
2 parents 705774a + 76ace9b commit 460297b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions integration-cli/docker_cli_run_test.go
Expand Up @@ -3948,6 +3948,7 @@ func (s *DockerSuite) TestRunAttachFailedNoLeak(c *check.C) {
// TODO Windows Post TP5. Fix the error message string
c.Assert(strings.Contains(string(out), "port is already allocated") ||
strings.Contains(string(out), "were not connected because a duplicate name exists") ||
strings.Contains(string(out), "The specified port already exists") ||
strings.Contains(string(out), "HNS failed with error : Failed to create endpoint") ||
strings.Contains(string(out), "HNS failed with error : The object already exists"), checker.Equals, true, check.Commentf("Output: %s", out))
dockerCmd(c, "rm", "-f", "test")
Expand Down

0 comments on commit 460297b

Please sign in to comment.