feat: Reduce resources for test containers
This commit is contained in:
@@ -134,6 +134,8 @@ def test_exec_working_dir_respected():
|
||||
image="python:3.11-slim",
|
||||
command="sleep infinity",
|
||||
working_dir="/tmp",
|
||||
cpu_limit=1,
|
||||
memory_limit="256m",
|
||||
)
|
||||
sb.start()
|
||||
try:
|
||||
@@ -249,6 +251,8 @@ def test_context_manager_stops_container():
|
||||
container_name="test-ctx-manager",
|
||||
image="python:3.11-slim",
|
||||
command="sleep infinity",
|
||||
cpu_limit=1,
|
||||
memory_limit="256m",
|
||||
)
|
||||
sb.start()
|
||||
with sb:
|
||||
|
||||
Reference in New Issue
Block a user