Skip to content

Commit b4241e3

Browse files
elajkatkarelyatin
authored andcommitted
[CI] Functional: Increase Ulimit to 4096
Functional tests started to fail with "Too many open files" randomly, the default ulimit in OS is configured to 1024, increasing this to 4096 to avoid these random failures. Closes-Bug: #2080199 Change-Id: Iff86599678ebdd5189d5b56d11f3373c9b138562 (cherry picked from commit 6970f39)
1 parent 199ab4e commit b4241e3

File tree

1 file changed

+4
-0
lines changed
  • roles/configure_functional_tests/tasks

1 file changed

+4
-0
lines changed

roles/configure_functional_tests/tasks/main.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@
4747
fi
4848
4949
configure_host_for_func_testing
50+
echo "$USER soft nofile 4096" | sudo tee /etc/security/limits.d/99-user.conf
5051
5152
executable: /bin/bash
5253
environment: "{{ override_env | default({})}}"
54+
55+
- name: Reset ssh connection to pick up limits
56+
meta: reset_connection

0 commit comments

Comments
 (0)