Skip to content

Limit conccurent container creates in TestEventsLimit to 8#26968

Merged
crosbymichael merged 1 commit intomoby:masterfrom
darstahl:TestEventsFix
Sep 30, 2016
Merged

Limit conccurent container creates in TestEventsLimit to 8#26968
crosbymichael merged 1 commit intomoby:masterfrom
darstahl:TestEventsFix

Conversation

@darstahl
Copy link
Copy Markdown
Contributor

fixes #22601

This limits the number of concurrent runs in TestEventsLimit in order to prevent hitting a platform timeout on Windows. I am unable to repro this failure locally, so this needs a few windowsRS1 CI runs to confirm the fix, but I strongly suspect this will fix the issue.

Assuming the platform timeout is the issue, the other option is to limit concurrency in the daemon, which might be the more correct solution here, since this solution (not changing anything) would require clients to limit their concurrent calls to creating containers on Windows until the platform timeout is changed. We could also temporarily disable the test until a platform fix is available, since I wouldn't really consider this a Docker bug, nor a test bug.

/cc @jhowardmsft @jstarks @jterry75 FYI

@lowenna
Copy link
Copy Markdown
Member

lowenna commented Sep 28, 2016

I'm ok with this as an interim solution. Assuming it works 😄 Can you add a comment for why. Obviously we still need to track down the bug in Windows for servicing independently. IOW LGTM if CI passes a few runs.

Signed-off-by: Darren Stahl <darst@microsoft.com>
@darstahl
Copy link
Copy Markdown
Contributor Author

This has passed CI without TestEventsLimit failures 5 times. Comment is updated, and ready for review 👍

@vieux
Copy link
Copy Markdown
Contributor

vieux commented Sep 30, 2016

same as @jhowardmsft, "I'm ok with this as an interim solution" LGTM

@crosbymichael
Copy link
Copy Markdown
Contributor

LGTM

@crosbymichael crosbymichael merged commit 1833842 into moby:master Sep 30, 2016
@darstahl darstahl deleted the TestEventsFix branch May 10, 2017 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Flaky test: TestEventsLimit failing on WindowsTP5

6 participants