Skip to content
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

Fix default test timeout and make default test timeout configurable at the test suite level. #534

Conversation

jbarrick-mesosphere
Copy link
Member

What type of PR is this?

/kind bug

What this PR does / why we need it:

The KEP defined the default assertion timeout as 300 seconds, but we actually implemented it as 10 seconds. I think 300 seconds is much too high for the default, so I've adjusted it to 30 in both the implementation and KEP.

This also makes the timeout configurable at the test suite level so that it can be configured for an entire test suite instead of just a specific assert.

Which issue(s) this PR fixes:

Fixes #532

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

Test harness timeout is now configurable at the test suite level.

…t the test suite level.

The KEP defined the default assertion timeout as 300 seconds, but we actually implemented it as 10 seconds. I think 300 seconds is much too high for the default, so I've adjusted it to 30 in both the implementation and KEP.

This also makes the timeout configurable at the test suite level so that it can be configured for an entire test suite instead of just a specific assert.
Copy link
Member

@kensipe kensipe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@jbarrick-mesosphere jbarrick-mesosphere merged commit 31b453e into kudobuilder:master Jul 9, 2019
@jbarrick-mesosphere jbarrick-mesosphere deleted the configurable-timeout branch July 9, 2019 20:29
@jbarrick-mesosphere jbarrick-mesosphere added this to the v0.4.0 milestone Jul 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Flaky integration tests with short timeout
3 participants