0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-16 21:56:37 -05:00
zot/pkg
Andrei Aaron 10d9b1514b Fixes/Improvements to pkg/cli/stress_test.go
- 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>
2022-07-26 13:01:16 +03:00
..
api freeform querry api 2022-07-20 10:03:11 -07:00
cli Fixes/Improvements to pkg/cli/stress_test.go 2022-07-26 13:01:16 +03:00
common sync: periodically retry if on-demand fails inline, closes #281 2022-02-07 09:04:13 -08:00
compliance ext: use distribution spec route prefix for extension api 2022-05-22 16:35:16 -07:00
exporter Manage builds with different combinations of extensions 2022-06-30 09:53:52 -07:00
extensions test calculated size 2022-07-20 10:03:11 -07:00
log Manage builds with different combinations of extensions 2022-06-30 09:53:52 -07:00
storage freeform querry api 2022-07-20 10:03:11 -07:00
test add image info to parameter 2022-07-20 10:03:11 -07:00