Fixes the negative networking test to include the new error string
from recent Windows builds.
Signed-off-by: Justin Terry <juterry@microsoft.com>
| ... | ... |
@@ -4233,7 +4233,8 @@ func (s *DockerSuite) TestRunAttachFailedNoLeak(c *check.C) {
|
| 4233 | 4233 |
// TODO Windows Post TP5. Fix the error message string |
| 4234 | 4234 |
c.Assert(strings.Contains(string(out), "port is already allocated") || |
| 4235 | 4235 |
strings.Contains(string(out), "were not connected because a duplicate name exists") || |
| 4236 |
- strings.Contains(string(out), "HNS failed with error : Failed to create endpoint"), checker.Equals, true, check.Commentf("Output: %s", out))
|
|
| 4236 |
+ strings.Contains(string(out), "HNS failed with error : Failed to create endpoint") || |
|
| 4237 |
+ strings.Contains(string(out), "HNS failed with error : The object already exists"), checker.Equals, true, check.Commentf("Output: %s", out))
|
|
| 4237 | 4238 |
dockerCmd(c, "rm", "-f", "test") |
| 4238 | 4239 |
|
| 4239 | 4240 |
// NGoroutines is not updated right away, so we need to wait before failing |