RunOOM test should check to see if Oom Control is enabled

closes #13766
Signed-off-by: Srini Brahmaroutu <srbrahma@us.ibm.com>
This commit is contained in:
root
2015-07-06 21:15:55 +00:00
parent c7492126ef
commit e7fb38410d
2 changed files with 21 additions and 0 deletions
+1
View File
@@ -2883,6 +2883,7 @@ func (s *DockerSuite) TestRunAllowPortRangeThroughPublish(c *check.C) {
}
func (s *DockerSuite) TestRunOOMExitCode(c *check.C) {
testRequires(c, OomControl)
errChan := make(chan error)
go func() {
defer close(errChan)