Skip to content

test(kafka): wait for ZooKeeper PVC deletion - #4484

Merged
Aleksei Sviridkin (lexfrei) merged 1 commit into
release-1.6from
manual-backport-4339-kafka-pvc-to-release-1.6
Sep 25, 2026
Merged

Aleksei Sviridkin (lexfrei) merged 1 commit into
release-1.6from
manual-backport-4339-kafka-pvc-to-release-1.6

Conversation

@lexfrei

Copy link
Copy Markdown
Contributor

This reopens a fork pull request from a branch in this repository so its CI can run. The commit is the one from #4481 by europrinter (@yankawai), unchanged. On release-1.6 the pull-request CI pushes the images it builds, and a run from a fork has no registry credentials, so #4481 could never get past the build jobs to e2e. The description below is the author's.

What this PR does

Wait for both ZooKeeper PVCs to disappear after Kafka deletion. Negative assertions can stop on an API read error before their timeout; deletion watches wait for the resource to be removed. The existing Bound and KafkaTopic checks are unchanged.

Carries the test-only change from c92828c in #4339, which was not included in #4402. This targets release-1.6; the Kafka suite on main uses KRaft without ZooKeeper.

Validated with Chainsaw 0.2.15: delayed deletion, an already absent PVC, an interrupted watch, and the read-error fixture pass. A retained PVC and forbidden access fail. The full Kafka E2E run remains for CI.

Screenshots

Not applicable.

Downstream repositories

Release note

NONE

Negative PVC assertions can stop on an API read error before the deletion
 timeout expires.

Signed-off-by: Yan Bondarenko <[email protected]>
@coderabbitai

coderabbitai Bot commented Sep 25, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository: cozystack/cozystack/.coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: 907c959b-c867-49c0-a5a7-4d5cd3dc6011

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added area/database Issues or PRs related to managed databases (postgres, mariadb, redis, etcd, kafka, clickhouse) size/S This PR changes 10-29 lines, ignoring generated files labels Sep 25, 2026
@lexfrei
Aleksei Sviridkin (lexfrei) merged commit a977a6b into release-1.6 Sep 25, 2026
18 of 19 checks passed
@lexfrei
Aleksei Sviridkin (lexfrei) deleted the manual-backport-4339-kafka-pvc-to-release-1.6 branch September 25, 2026 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/database Issues or PRs related to managed databases (postgres, mariadb, redis, etcd, kafka, clickhouse) size/S This PR changes 10-29 lines, ignoring generated files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants