mirror of
https://github.com/project-zot/zot.git
synced 2026-06-15 20:07:55 +08:00
10d9b1514b
- Decrease RLIMIT_NOFILE and the number of goroutines used to reach this limit (from 512 to 100) - Reset RLIMIT_NOFILE to the initial value before the test finishes - Remove panic - Use temporary dir managed by test framework - Swith to using test logging in pkg/cli/stress_test.go - Execute commands without `bash -c` in pkg/cli/stress_test.go First item is needed as the GH runner seems to stop the test if stressed too much. The lower number is still good enough to reproduce the test conditions Signed-off-by: Andrei Aaron <andaaron@cisco.com>