Skip to content

Improve CI stability #1848

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

Merged
merged 8 commits into from
Jul 1, 2022
Merged

Improve CI stability #1848

merged 8 commits into from
Jul 1, 2022

Conversation

andyleejordan
Copy link
Member

@andyleejordan andyleejordan commented Jul 1, 2022

By removing arbitrary timeouts, fixing disposal bugs, and cleaning up tests. Resolves #1793.

@andyleejordan andyleejordan added Issue-Enhancement A feature request (enhancement). Area-Test labels Jul 1, 2022
@andyleejordan andyleejordan requested a review from a team July 1, 2022 18:11
@@ -109,6 +111,7 @@ public async Task CompletesVariableInFile()
public async Task CompletesAttributeValue()
{
(_, IEnumerable<CompletionItem> results) = await GetCompletionResultsAsync(CompleteAttributeValue.SourceDetails).ConfigureAwait(true);
Assert.Equal(3, results.Count());
Copy link
Member Author

Choose a reason for hiding this comment

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

If this fails in flaky test, we'll know that it's not a sorting issue (which it shouldn't be, because we already sort it, but this has been hell to figure out).

Copy link
Collaborator

@SeeminglyScience SeeminglyScience left a comment

Choose a reason for hiding this comment

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

LGTM! Well done getting this figured out ❤️ looking forward to not having to restart so many test runs 😁

@andyleejordan andyleejordan force-pushed the andschwa/ci-stability branch from 7d166b5 to d8e76d2 Compare July 1, 2022 19:07
Our CI can be quite slow, and these were just arbitrary timeouts. If the
tests succeed, they should never be hit. Let's instead give them as much
time as possible. CI will eventually kill the run if it hangs, and
locally devs can do the same. This should help improve CI stability.

Also fixes the disposal bug in the tests.
@andyleejordan andyleejordan force-pushed the andschwa/ci-stability branch from d8e76d2 to 7eefe68 Compare July 1, 2022 19:18
@andyleejordan andyleejordan force-pushed the andschwa/ci-stability branch from 7eefe68 to 80ab5a4 Compare July 1, 2022 19:39
@andyleejordan andyleejordan enabled auto-merge July 1, 2022 19:39
@andyleejordan andyleejordan merged commit ecd2f26 into main Jul 1, 2022
@andyleejordan andyleejordan deleted the andschwa/ci-stability branch July 1, 2022 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Test Issue-Enhancement A feature request (enhancement).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix CI stability
2 participants