Use Go Test Timeout to set Knuu Timeout
hello!
It would be great to set the KNUU_TIMEOUT value from go test -timeout, this will help us to specify the timeout value and don't face issues like:
Set the env var:
export KNUU_TIMEOUT=25m
And then:
panic: test timed out after 10m0s
running tests:
TestFolderCached (10m0s)
cheers! 🚀
### Tasks
- [ ] `KNUU_TIMEOUT` -> from `go test -timeout`
- [ ] if we set `KNUU_TIMEOUT` will override `go test -timeout`
- [ ] `go test -timeout` has priority over `KNUU_TIMEOUT`
So,KNUU_TIMEOUT can only set up from go test -timeout?
Can we remove manual KNUU_TIMEOUT declaration?
So,
KNUU_TIMEOUTcan only set up fromgo test -timeout?Can we remove manual
KNUU_TIMEOUTdeclaration?
hello!
it will be something like:
KNUU_TIMEOUT-> fromgo test -timeout- if we set
KNUU_TIMEOUTwill overridego test -timeout go test -timeouthas priority overKNUU_TIMEOUT
did point 2 and 3 contradict each other?
- if we set
KNUU_TIMEOUTwill overridego test -timeout
I meant:
in case we specifyKNUU_TIMEOUT will override go test -timeout -> the default value
if we specify the go test -timeout then, it has priority over KNUU_TIMEOUT
not possible