Pull request overview
Backport to stable/8.8 that aims to reduce archiver integration-test flakiness when tests share an OpenSearch cluster by scoping test data per run, reducing cluster-wide operations, and making retention/ISM handling less contention-prone.
Changes:
- Introduces a per-test
testPrefix in the archiver IT base class, uses it for index prefixing and more targeted refreshes, and increases wait timeouts via a shared ARCHIVE_TIMEOUT.
- Reduces OpenSearch pressure by refreshing only prefixed indices and setting
numberOfReplicas=0 for test-created indices.
- Reworks OpenSearch archiver repository IT cleanup to delete only test-owned indices/policies instead of deleting
*.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.
| File |
Description |
| zeebe/exporters/camunda-exporter/src/test/java/io/camunda/exporter/tasks/archiver/UsageMetricsArchiverJobIT.java |
Uses scoped refresh (refresh(testPrefix)) and shared timeout to reduce cluster-wide operations and flakiness. |
| zeebe/exporters/camunda-exporter/src/test/java/io/camunda/exporter/tasks/archiver/StandaloneDecisionArchiverJobIT.java |
Same scoped refresh/timeout approach for decision archiver tests. |
| zeebe/exporters/camunda-exporter/src/test/java/io/camunda/exporter/tasks/archiver/OpenSearchArchiverRepositoryIT.java |
Switches from global cleanup to per-test unique IDs and targeted deletion of indices/policies. |
| zeebe/exporters/camunda-exporter/src/test/java/io/camunda/exporter/tasks/archiver/ArchiverJobIT.java |
Adds per-test index prefixing and replicas=0 to reduce cross-test collisions and shard readiness issues. |
Publicado originalmente por @copilot-pull-request-reviewer en camunda/camunda#57556 (review)
Pull request overview
Backport to
stable/8.8that aims to reduce archiver integration-test flakiness when tests share an OpenSearch cluster by scoping test data per run, reducing cluster-wide operations, and making retention/ISM handling less contention-prone.Changes:
testPrefixin the archiver IT base class, uses it for index prefixing and more targeted refreshes, and increases wait timeouts via a sharedARCHIVE_TIMEOUT.numberOfReplicas=0for test-created indices.*.Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.
refresh(testPrefix)) and shared timeout to reduce cluster-wide operations and flakiness.Publicado originalmente por @copilot-pull-request-reviewer en camunda/camunda#57556 (review)