Repository navigation
test: update health tests - #738
Merged
Merged
Conversation
karel-rehor
requested review from
NguyenHoangSon96,
alespour and
bednar
and
a balanced review from Copilot
November 23, 2026 13:40
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain for the integration-test compatibility updates.
No open issues 🎉
What changed in this PR
Updates integration tests to accommodate InfluxDB v2.10 health responses and stricter bucket authorization checks without changing client behavior.
Changes:
- Accepts both
"healthy"and"ready for queries and writes"as valid health messages. - Creates the authorization test bucket in the same organization referenced by its permissions.
| File | Description |
|---|---|
| tests/test_health.py | Accepts both supported health messages while retaining status and name checks. |
| tests/test_AuthorizationApi.py | Aligns bucket ownership with the organization used in the permission request. |
Review effort: Balanced
alespour
approved these changes
Nov 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed Changes
The recent influxdbv2 2.10 release introduces changes to the health response message and tightens authorization checks when creating permissions for buckets in an organization.
These changes:
tests/test_health.pyChecklist
[ ] CHANGELOG.md updatedN.A. test updates onlypytest testscompletes successfully