-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Increase timeout for integration tests #12203
Conversation
Recently introduced `TestOracleDBIntegration` integration test runs just on the edge on 5 minutes. This change increases the timeout to give it enough time to pass.
@@ -4,7 +4,7 @@ SRC_ROOT := $(realpath $(dir $(lastword $(MAKEFILE_LIST)))) | |||
# build tags required by any component should be defined as an independent variables and later added to GO_BUILD_TAGS below | |||
GO_BUILD_TAGS="" | |||
GOTEST_OPT?= -race -v -timeout 300s --tags=$(GO_BUILD_TAGS) | |||
GOTEST_INTEGRATION_OPT?= -race -timeout 300s | |||
GOTEST_INTEGRATION_OPT?= -race -timeout 360s |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I worry that increasing this would just encourage others to keep extending what their system does for timeouts.
Is there a way we can add in the ability for a virtual clock or something of that effect if we are testing time based functionality?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see what you're saying but I'm less worried about this than I am with CI stability. Please open an issue with a proposal if you have an idea how this could be implemented.
@@ -4,7 +4,7 @@ SRC_ROOT := $(realpath $(dir $(lastword $(MAKEFILE_LIST)))) | |||
# build tags required by any component should be defined as an independent variables and later added to GO_BUILD_TAGS below | |||
GO_BUILD_TAGS="" | |||
GOTEST_OPT?= -race -v -timeout 300s --tags=$(GO_BUILD_TAGS) | |||
GOTEST_INTEGRATION_OPT?= -race -timeout 300s | |||
GOTEST_INTEGRATION_OPT?= -race -timeout 360s |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see what you're saying but I'm less worried about this than I am with CI stability. Please open an issue with a proposal if you have an idea how this could be implemented.
Recently introduced
TestOracleDBIntegration
integration test runs just on the edge on 5 minutes. This change increases the timeout to give it enough time to pass.Fixes #12202