Skip to content

Commit 266475d

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) (cherry picked from commit b4241e3) Conflicts: roles/configure_functional_tests/tasks/main.yaml
1 parent 8850773 commit 266475d

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
@@ -45,5 +45,9 @@
4545
fi
4646
4747
configure_host_for_func_testing
48+
echo "$USER soft nofile 4096" | sudo tee /etc/security/limits.d/99-user.conf
4849
4950
executable: /bin/bash
51+
52+
- name: Reset ssh connection to pick up limits
53+
meta: reset_connection

0 commit comments

Comments
 (0)