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

chore(ci): testing with Python3.10 and ZK 3.5.10, 3.6.3, 3.7.1 #659

Merged
merged 1 commit into from
Oct 8, 2022

Conversation

StephenSorriaux
Copy link
Member

@StephenSorriaux StephenSorriaux commented Feb 7, 2022

Why is this needed?

Make sure the lib is working with Python 3.10 and the latest ZK versions (3.5.10, 3.6.3, 3.7.1)

Proposed Changes

  • add Python 3.10 in matrix testing
  • change ZK 3.5.8 to ZK 3.5.10 in matrix testing
  • add ZK 3.6.3 in matrix testing
  • add ZK 3.7.1 in matrix testing
  • better discover .jar files when building the classpath (could be better though)
  • rename test_connection.py to test__connection.py to get it done first (poor way to try to get it less flaky, I confess) and deactivate fail-fast feature in GA to get the tests' flakiness less painful
  • add conftest.py to give a way to get ZK logs when test fails (but needs the -s flag in pytest)
  • add ZK local session configuration required to get the read only test working for ZK 3.7
  • added Python 3.9 and Python 3.10 to setup.cfg

Does this PR introduce any breaking change?

No

@StephenSorriaux StephenSorriaux marked this pull request as draft February 7, 2022 19:07
@codecov-commenter
Copy link

codecov-commenter commented Sep 30, 2022

Codecov Report

Base: 94.43% // Head: 94.51% // Increases project coverage by +0.08% 🎉

Coverage data is based on head (80a121c) compared to base (5f7ae48).
Patch coverage: 60.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #659      +/-   ##
==========================================
+ Coverage   94.43%   94.51%   +0.08%     
==========================================
  Files          56       57       +1     
  Lines        8367     8399      +32     
==========================================
+ Hits         7901     7938      +37     
+ Misses        466      461       -5     
Impacted Files Coverage Δ
kazoo/testing/common.py 78.78% <28.57%> (-4.66%) ⬇️
kazoo/tests/conftest.py 42.85% <42.85%> (ø)
kazoo/testing/harness.py 98.34% <100.00%> (+0.01%) ⬆️
kazoo/tests/test__connection.py 98.14% <100.00%> (ø)
kazoo/tests/test_sasl.py 87.39% <100.00%> (+0.32%) ⬆️
kazoo/recipe/barrier.py 97.93% <0.00%> (-1.04%) ⬇️
kazoo/client.py 98.41% <0.00%> (-0.16%) ⬇️
kazoo/tests/test_client.py 98.70% <0.00%> (+0.09%) ⬆️
kazoo/recipe/lock.py 97.96% <0.00%> (+0.33%) ⬆️
... and 5 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@StephenSorriaux StephenSorriaux changed the title chore(ci): testing with Python3.10 and ZK 3.6.3 chore(ci): testing with Python3.10 and ZK 3.5.10, 3.6.3, 3.7.1 Sep 30, 2022
Testing libs have been upgraded.
The used java classpath now considers more .jar possible locations.
test_connection.py tests is now done first, trying to make it less flaky.
conftest.py has been added to give a way to display ZK cluster logs.
Because of ZK 3.6 and 3.7 changes, configurations related to local session has been added.
Disable GA fail-fast because of the flakiness
@StephenSorriaux StephenSorriaux marked this pull request as ready for review October 1, 2022 16:10
@StephenSorriaux StephenSorriaux requested review from ceache and jeffwidman and removed request for ceache and jeffwidman October 1, 2022 16:10
@StephenSorriaux StephenSorriaux merged commit bd62797 into master Oct 8, 2022
@StephenSorriaux StephenSorriaux deleted the feat/update-testing branch October 8, 2022 03:37
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.

4 participants