Skip to content

Fix CI and switch to GitHub Actions#640

Merged
Nargonath merged 4 commits intohapijs:masterfrom
watson:ci-fix
Dec 2, 2020
Merged

Fix CI and switch to GitHub Actions#640
Nargonath merged 4 commits intohapijs:masterfrom
watson:ci-fix

Conversation

@watson
Copy link
Copy Markdown
Contributor

@watson watson commented Dec 2, 2020

I noticed that #639 was opened recently to switch from Travis CI to GitHub Actions. I can see that it's not merged and I assume it's because CI is currently failing. I've looked into it and it seems to be a series of race-conditions which means that under certain constrained environments (especially CI containers), the tests run their assertions before the tested code have completed running. This PR includes everything from #639 + a few fixes to make CI stable by increasing the test-wait-times. This is obviously not a very nice solution, but it's the solution that the current test-suite employs, so without rewriting everything, this is what I came up with.

@watson watson marked this pull request as ready for review December 2, 2020 11:06
This was referenced Dec 2, 2020
@Nargonath Nargonath self-assigned this Dec 2, 2020
Copy link
Copy Markdown
Contributor

@cjihrig cjihrig left a comment

Choose a reason for hiding this comment

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

LGTM. We are currently in the process of trying to address flaky tests like this across the entire org, and good is scheduled for EOL at the end of the year.

Copy link
Copy Markdown
Member

@Nargonath Nargonath left a comment

Choose a reason for hiding this comment

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

Thanks @watson for fixing the PR. To be honest, I didn't do it because good will most likely be deprecated by the end of the year but I forgot to close the PR 😅 . Anyway the job is done so there is no reason to refuse it.

Thanks again. 👍

@Nargonath Nargonath merged commit 84de11a into hapijs:master Dec 2, 2020
@watson watson deleted the ci-fix branch December 2, 2020 14:45
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.

3 participants