Commit 05a14643 authored by Dimitris Lampridis's avatar Dimitris Lampridis

ci: increase ulimit for open files in pytest

Otherwise our FECs might complain
parent e174eeb1
......@@ -43,6 +43,8 @@ test_on_hw:
MODULE: "FMC-SVEC"
_BITSTREAM_NAME: "svec-mt_demo.bin"
before_script:
- ulimit -n | tee /tmp/${CI_JOB_ID}-ulimit.bak
- ulimit -n 4096
- *module_cleanup
- export PATH=$PATH:/acc/local/share/ht_tools/L867/git/latest
- sh /usr/local/drivers/scripts/${CARD}_fmc_carrier_install.sh
......@@ -90,6 +92,8 @@ test_on_hw:
- cd tests
- pytest --id $MT_NODE --fw-path $FIRMWARE_PATH --junitxml=./pytest.xml
after_script:
- if [ -f /tmp/${CI_JOB_ID}-ulimit.bak ]; then ulimit -n $(cat /tmp/${CI_JOB_ID}-ulimit.bak); fi
- ulimit -n
- *module_cleanup
artifacts:
when: always
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment