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

Test using consul container instead of plain binaries stored in the repo #80

Merged
merged 8 commits into from
Aug 27, 2024

Conversation

mbrulatout
Copy link
Contributor

@mbrulatout mbrulatout commented Aug 26, 2024

Drop support for 1.13 and 1.15 (partially for convenience as
they're not in the hashicorp docker repo).
We now also capture container logs and store them in a logs/
folder. Each test will have its own consul log file.
This required a conftest.py split, where Consul agent creation fixture remain in the tests/ folder
to avoid cyclic import, while all the other parts are moved to the uppermost folder.

A few linter changes required due to a ruff upgrade.

An old deprecated setuptools test feature has been removed too.

Fixed some flakiness by increasing a few sleeps. HTTP checks also have a minimal timeout of 1s hardcoded into consul.

Mathias Brulatout added 2 commits August 26, 2024 17:13
Drop support for 1.13 and 1.15 (partially for convenience as
they're not in the hashicorp docker repo).
We now also capture container logs and store them in a logs/
folder. Each test will have its own consul log file.

A few linter changes required due to a ruff upgrade.
@mbrulatout mbrulatout changed the title Test using consul container isntead of plain binaries stored in the repo Test using consul container instead of plain binaries stored in the repo Aug 26, 2024
@mbrulatout mbrulatout merged commit 8e0e012 into master Aug 27, 2024
10 checks passed
@mbrulatout mbrulatout deleted the docker branch August 27, 2024 07:39
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