mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Correct wrong comment for TestRunWithoutMemoryswapLimit case.
Signed-off-by: Yuan Sun <sunyuan3@huawei.com>
This commit is contained in:
parent
d2e7ba42b1
commit
cf6a53642a
1 changed files with 4 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue