NREL / boptest-service

Other
3 stars 4 forks source link

Need to add APIs to change BOPTEST timeouts. #6

Open jmythms opened 1 year ago

jmythms commented 1 year ago

This is relevant when a large number of tests are being run simultaneously (like in MegaBOP). Waiting for all testcases to do something might cause a timeout with the default values.

kbenne commented 1 year ago

If we do this it would certainly need to be a protected API that requires an elevated user. We do (sort of) have the ability to mark certain users as admins.

A middle step is to parameterize the timeout with an environment variable so that it doesn't require a code change, but can be altered by a server admin. I think we the latest changes that might already be accomplished.