Skip to content

Commit

Permalink
Revert "test: increate the memory limit to TestRunWithMemoryswap2x"
Browse files Browse the repository at this point in the history
This reverts commit 69e6356.

Signed-off-by: Ace-Tang <aceapril@126.com>
  • Loading branch information
Ace-Tang authored and fuweid committed Mar 8, 2019
1 parent 12ea1e4 commit 5ef1508
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/cli_run_memory_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ func (suite *PouchRunMemorySuite) TestRunWithMemoryswap(c *check.C) {

// test memory swap should be 2x memory if not specify it.
cname = "TestRunWithMemoryswap2x"
memory = "20m"
expected = 2 * 20 * m
memory = "10m"
expected = 2 * 10 * m

res = command.PouchRun("run", "-d", "-m", memory,
"--name", cname, busyboxImage, "sleep", sleep)
Expand Down

0 comments on commit 5ef1508

Please sign in to comment.