Skip to content

Add the memoryLimitSupport requirement to Events OOM tests#17913

Merged
runcom merged 1 commit intomoby:masterfrom
clnperez:oom-test-requires
Nov 11, 2015
Merged

Add the memoryLimitSupport requirement to Events OOM tests#17913
runcom merged 1 commit intomoby:masterfrom
clnperez:oom-test-requires

Conversation

@clnperez
Copy link
Copy Markdown
Contributor

The docker run commands in these tests uses the -m flag,
so the tests should require that it's supported to run.

Signed-off-by: Christy Perez [email protected]

The docker run commands in these tests uses the -m flag,
so the tests should require that it's supported to run.

Fixes 17215 (maybe)

Signed-off-by: Christy Perez <[email protected]>
@clnperez
Copy link
Copy Markdown
Contributor Author

This is as a result of investigating Issue #17215. While it won't fix any flakiness seen in the CI tests in docker's Jenkins env (since those instances support memory control, AFAICT), it does make sure it doesn't run on environments it shouldn't.

@cpuguy83
Copy link
Copy Markdown
Member

LGTM

@vdemeester
Copy link
Copy Markdown
Member

LGTM 🐴

runcom added a commit that referenced this pull request Nov 11, 2015
Add the memoryLimitSupport requirement to Events OOM tests
@runcom runcom merged commit 9d4e2f3 into moby:master Nov 11, 2015
@clnperez clnperez deleted the oom-test-requires branch November 11, 2015 22:47
tophj-ibm added a commit to tophj-ibm/moby that referenced this pull request Feb 23, 2016
If cgroup swap memory limit isn't enabled, then
the -m flag doesn't work and the container that is created for
both of these tests is very large. Because we are trying to run the
containers out of memory, this takes a very long time and causes the
tests to fail most of the time.

Follow-up to moby#17913

Signed-off-by: Christopher Jones <[email protected]>
@tophj-ibm tophj-ibm mentioned this pull request Feb 23, 2016
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.

6 participants