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

Add timeout to integration test #1632

Merged
merged 3 commits into from
Jan 3, 2023
Merged

Conversation

brianstrauch
Copy link
Member

@brianstrauch brianstrauch commented Jan 3, 2023

Checklist

  1. [CRUCIAL] Is the change for CP or CCloud functionalities that are already live in prod?
    • yes: ok

What

We've seen a few flaky integration test failures on Linux, where all tests say "(unknown)" for their completion time. Since the integration tests appear to gotestsum as a single test, it's possible that they're timing out (the total time in this example job is 239.9s, which is very close to 4m). Furthermore, the gosumtest source code shows that "unknown" is returned if there's a timeout: https://github.com/gotestyourself/gotestsum/blob/10c2a47f9b99c8b49cbea60d12a6c76af0678d50/testjson/summary.go#L118. We started seeing this after downgrading to s1-prod-ubuntu20-04-amd64-1 which is a slower machine than we were using previously.

@brianstrauch brianstrauch requested a review from a team as a code owner January 3, 2023 18:09
Copy link
Member

@sgagniere sgagniere left a comment

Choose a reason for hiding this comment

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

Hopefully 10 minutes is enough

@brianstrauch
Copy link
Member Author

Hopefully 10 minutes is enough

@sgagniere It typically takes 3m to run, so I hope the occasional "bad" linux machine isn't more than 3x as slow!

@brianstrauch brianstrauch merged commit 3a6b71d into main Jan 3, 2023
@brianstrauch brianstrauch deleted the integration-test-timeout branch January 3, 2023 19:05
yao-gu pushed a commit that referenced this pull request Jan 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants