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

tests: Fix flakiness of git related tests #686

Merged
merged 2 commits into from
Apr 25, 2022
Merged

Conversation

codablock
Copy link
Contributor

Please see the individual commits of this PR.

This ensures that no host specific git configuration is pulled in while
testing. One such example would be "init.defaultBranch" which is set to
"main" on some hosts, which then causes tests to fail as they keep looking
for "master" branches.

Signed-off-by: Alexander Block <[email protected]>
I assume using "interval" for timeouts was an accident and "timeout" was
actually meant to be used. This also fixes flakiness of tests.

Signed-off-by: Alexander Block <[email protected]>
Makefile Show resolved Hide resolved
Copy link
Member

@pjbgf pjbgf left a comment

Choose a reason for hiding this comment

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

Tiny nit, apart from that LGTM.

Copy link
Member

@pjbgf pjbgf left a comment

Choose a reason for hiding this comment

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

Thank you @codablock for working on this. 🙇

LGTM!

@pjbgf pjbgf added the area/ci CI related issues and pull requests label Apr 25, 2022
@pjbgf pjbgf mentioned this pull request Apr 25, 2022
16 tasks
@pjbgf pjbgf merged commit 3c67efa into fluxcd:main Apr 25, 2022
@codablock codablock deleted the fix-git-tests branch April 25, 2022 21:48
@pjbgf pjbgf mentioned this pull request Aug 25, 2022
26 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ci CI related issues and pull requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants