Skip to content

tests: Fix flakiness of git related tests - #686

Merged
pjbgf merged 2 commits into
fluxcd:mainfrom
codablock:fix-git-tests
Apr 25, 2022
Merged

tests: Fix flakiness of git related tests#686
pjbgf merged 2 commits into
fluxcd:mainfrom
codablock:fix-git-tests

Conversation

@codablock

Copy link
Copy Markdown
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 <ablock84@gmail.com>
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 <ablock84@gmail.com>
Comment thread Makefile

@pjbgf pjbgf left a comment

Copy link
Copy Markdown
Member

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.

@pjbgf pjbgf left a comment

Copy link
Copy Markdown
Member

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