Skip to content

Commit

Permalink
enable memory test
Browse files Browse the repository at this point in the history
Signed-off-by: S.Cavallo <[email protected]>
  • Loading branch information
smcavallo committed Nov 19, 2019
1 parent fafa21d commit 66f754a
Showing 1 changed file with 10 additions and 15 deletions.
25 changes: 10 additions & 15 deletions test/cookbooks/docker_test/recipes/container.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1203,24 +1203,19 @@
# memory
########

# Commenting out - this causes CI tests to fail/time out
# Plus, there's no actual assertions against this container
# [2019-11-19T02:42:08+00:00] FATAL: Docker::Error::TimeoutError: docker_container[memory] (docker_test::container line 1206) had an error:
# Docker::Error::TimeoutError: Container memory failed to change to running state after 20 seconds

#docker_container 'memory' do
# repo 'alpine'
# tag '3.1'
# command 'nc -ll -p 70 -e /bin/cat'
# port '71:71'
docker_container 'memory' do
repo 'alpine'
tag '3.1'
command 'nc -ll -p 70 -e /bin/cat'
port '71:71'
# kernel_memory '10m'
# memory '5m'
# memory_swap '5M'
memory '5m'
memory_swap '5M'
# memory_swappiness 50
# memory_reservation '5m'
# shm_size '32m'
# action :run
#end
shm_size '32m'
action :run
end

################
# health_check
Expand Down

0 comments on commit 66f754a

Please sign in to comment.