Skip to content
This repository has been archived by the owner on Aug 3, 2020. It is now read-only.

Commit

Permalink
Don't use memswap_limit for test
Browse files Browse the repository at this point in the history
As it could be disabled on the machine that builds and thus give an test
failure for a wrong reason.

See https://jenkins.dockerproject.org/job/Libcompose%20Master/71/console

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
  • Loading branch information
vdemeester committed Oct 21, 2015
1 parent 1319c4f commit c71e88f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions integration/create_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ func (s *RunSuite) TestFields(c *C) {
image: tianon/true
cpuset: 1,2
mem_limit: 4194304
memswap_limit: 8388608
`)

name := fmt.Sprintf("%s_%s_1", p, "hello")
Expand All @@ -23,7 +22,6 @@ func (s *RunSuite) TestFields(c *C) {
c.Assert(cn.Config.Image, Equals, "tianon/true")
c.Assert(cn.HostConfig.CPUSetCPUs, Equals, "1,2")
c.Assert(cn.HostConfig.Memory, Equals, int64(4194304))
c.Assert(cn.HostConfig.MemorySwap, Equals, int64(8388608))
}

func (s *RunSuite) TestHelloWorld(c *C) {
Expand Down

0 comments on commit c71e88f

Please sign in to comment.