mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #17913 from clnperez/oom-test-requires
Add the memoryLimitSupport requirement to Events OOM tests
This commit is contained in:
commit
9d4e2f3992
1 changed files with 2 additions and 6 deletions
|
@ -46,9 +46,7 @@ func (s *DockerSuite) TestEventsRedirectStdout(c *check.C) {
|
|||
}
|
||||
|
||||
func (s *DockerSuite) TestEventsOOMDisableFalse(c *check.C) {
|
||||
testRequires(c, DaemonIsLinux)
|
||||
testRequires(c, oomControl)
|
||||
testRequires(c, NotGCCGO)
|
||||
testRequires(c, DaemonIsLinux, oomControl, memoryLimitSupport, NotGCCGO)
|
||||
|
||||
errChan := make(chan error)
|
||||
go func() {
|
||||
|
@ -82,9 +80,7 @@ func (s *DockerSuite) TestEventsOOMDisableFalse(c *check.C) {
|
|||
}
|
||||
|
||||
func (s *DockerSuite) TestEventsOOMDisableTrue(c *check.C) {
|
||||
testRequires(c, DaemonIsLinux)
|
||||
testRequires(c, oomControl)
|
||||
testRequires(c, NotGCCGO)
|
||||
testRequires(c, DaemonIsLinux, oomControl, memoryLimitSupport, NotGCCGO)
|
||||
|
||||
errChan := make(chan error)
|
||||
go func() {
|
||||
|
|
Loading…
Add table
Reference in a new issue