mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-04 04:31:28 +00:00
Merge pull request #16260 from sunyuan3/comment
Correct wrong comment for TestRunWithoutMemoryswapLimit case.
This commit is contained in:
@@ -299,7 +299,10 @@ func (s *DockerSuite) TestRunEchoStdoutWithMemoryLimit(c *check.C) {
|
||||
}
|
||||
}
|
||||
|
||||
// should run without memory swap
|
||||
// TestRunWithoutMemoryswapLimit sets memory limit and disables swap
|
||||
// memory limit, this means the processes in the container can use
|
||||
// 16M memory and as much swap memory as they need (if the host
|
||||
// supports swap memory).
|
||||
func (s *DockerSuite) TestRunWithoutMemoryswapLimit(c *check.C) {
|
||||
testRequires(c, NativeExecDriver)
|
||||
testRequires(c, memoryLimitSupport)
|
||||
|
||||
Reference in New Issue
Block a user