Closed EliottPaillard closed 1 month ago
Hi @EliottPaillard. You can adapt this limit via environment variable on the gitb-ui
container. The variable is called SAVED_FILE_MAX_SIZE
which quoting from the configuration reference is:
The maximum size (in KBs) for uploaded files that are to be persisted in the test bed’s database (not email attachments).
An an example, to double the current limit you would configure:
gitb-ui:
image: isaitb/gitb-ui
...
environment:
...
- SAVED_FILE_MAX_SIZE=10240
...
The reason why this is managed as a Test Bed wide configuration property is to limit abuse. On a multitenant instance, if a specific test case, or even community could set an arbitrarily large limit for individually uploaded files you could end up with an easy way to strain the overall service's resources.
Note that even with this env variable however, you can't increase the limit indefinitely. There is currently a hard cap of 100MBs on accepted requests by the Test Bed's underlying server (although I doubt you would need to manage such large files in tests).
Hey @costas80,
I noticed while testing the interact interface that you can not provide a file bigger than 5120KBs. Even zipped, some files might exceed this volume.
So I was wondering if it would be possible to manually set in the step a higher volume limit?