0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-30 22:34:13 -05:00
zot/pkg/cli
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
..
cli.go Manage builds with different combinations of extensions 2022-06-30 09:53:52 -07:00
client.go Manage builds with different combinations of extensions 2022-06-30 09:53:52 -07:00
client_elevated_test.go Manage builds with different combinations of extensions 2022-06-30 09:53:52 -07:00
client_test.go Manage builds with different combinations of extensions 2022-06-30 09:53:52 -07:00
config_cmd.go Manage builds with different combinations of extensions 2022-06-30 09:53:52 -07:00
config_cmd_test.go Manage builds with different combinations of extensions 2022-06-30 09:53:52 -07:00
config_reloader.go lint: Move out config reloader context from controller struct 2022-03-24 10:50:01 -07:00
config_reloader_test.go sync: support reloading sync config when the config file changes 2022-03-18 11:24:11 -07:00
cve_cmd.go Manage builds with different combinations of extensions 2022-06-30 09:53:52 -07:00
cve_cmd_test.go Update to graphql 1.17.13 2022-07-18 12:55:40 -07:00
extensions_test.go Fix data race on trivydb download in tests. 2022-07-14 09:31:15 -07:00
image_cmd.go Manage builds with different combinations of extensions 2022-06-30 09:53:52 -07:00
image_cmd_test.go Manage builds with different combinations of extensions 2022-06-30 09:53:52 -07:00
minimal.go Manage builds with different combinations of extensions 2022-06-30 09:53:52 -07:00
repo_cmd.go Manage builds with different combinations of extensions 2022-06-30 09:53:52 -07:00
root.go ext: use distribution spec route prefix for extension api 2022-05-22 16:35:16 -07:00
root_test.go Report unknown keys when parsing configuration files 2022-05-16 14:13:31 -07:00
searcher.go Manage builds with different combinations of extensions 2022-06-30 09:53:52 -07:00
service.go Manage builds with different combinations of extensions 2022-06-30 09:53:52 -07:00
stress_test.go Fixes/Improvements to pkg/cli/stress_test.go 2022-07-26 13:01:16 +03:00