hanahmily opened a new pull request, #1056:
URL: https://github.com/apache/skywalking-banyandb/pull/1056
### Add replication integration tests for measure, stream and trace modes
- [x] If this is non-trivial feature, paste the links/URLs to the design doc.
- [x] Tests(including UT, IT, E2E) are added to verify the new feature.
## Summary
- Add design documents for replication integration tests with property-based
schema discovery
- Refactor replication test infrastructure from etcd to property+file-based
discovery
- Add replicated measure, stream, and trace schemas and test data
- Add replication integration tests for measure normal mode, stream normal
mode, and trace normal mode
- Fix cluster stability issues and context handling in sync retry logic
## Changes
- **Design docs**: `docs/2026-03-20-replication-integration-tests.md` and
`docs/2026-03-20-replication-integration-tests-design.md`
- **Test infrastructure**: `pkg/test/replicated/{measure,stream,trace}/`
with schema definitions and testdata
- **Integration tests**:
`test/integration/replication/{measure,stream,trace}_replication_test.go`
- **Bug fixes**: Use `loopCloser` context in `executeSyncWithRetry`, fix
cluster stability issues
## Test plan
- [x] `make test-ci PKG=./pkg/...` passes
- [x] `make test-ci PKG=./fodc/...` passes
- [x] Phase 1 checks (license, build, lint, check) all pass
- [ ] Integration tests pass (requires Azurite/Docker environment)
- [ ] e2e tests pass (requires Kubernetes/Kind)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]