-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Make TestKit startup timeouts configurable #7423
Make TestKit startup timeouts configurable #7423
Conversation
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.
Detailed my changes
|
||
# The amount of time it takes the testkit to startup | ||
# Increase this value if you're running many tests in parallel | ||
startup-timeout = 5s |
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.
New setting here - you can increase this value to give tests more time to initialize, which might be useful if you're running many in parallel.
@@ -21,6 +21,7 @@ public void DefaultValues_should_be_correct() | |||
TestKitSettings.SingleExpectDefault.ShouldBe(TimeSpan.FromSeconds(3)); | |||
TestKitSettings.TestEventFilterLeeway.ShouldBe(TimeSpan.FromSeconds(3)); | |||
TestKitSettings.TestTimeFactor.ShouldBe(1); | |||
TestKitSettings.TestKitStartupTimeout.ShouldBe(TimeSpan.FromSeconds(5)); |
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.
Validate that this value can be written / overwritten via HOCON.
Changes
close #7259
Checklist
For significant changes, please ensure that the following have been completed (delete if not relevant):