Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

Commit

Permalink
Increase memory limit in spec
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Fraenkel <fraenkel@us.ibm.com>
  • Loading branch information
ScarletTanager authored and Michael Fraenkel committed Mar 22, 2016
1 parent a659244 commit b72b8c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion warden/spec/container/linux_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1272,7 +1272,7 @@ def run(script)
end

it "terminates when writing more data than the memory limit" do
run("dd of=/dev/shm/out.bin if=/dev/urandom bs=#{megabyte} count=34")
run("dd of=/dev/shm/out.bin if=/dev/urandom bs=#{megabyte} count=45")

expect { client.info(:handle => handle).state }.to eventually(eq("stopped"))
expect { client.info(:handle => handle).events }.to eventually(include("out of memory"))
Expand Down

0 comments on commit b72b8c5

Please sign in to comment.