paultanay opened a new pull request, #968: URL: https://github.com/apache/skywalking-banyandb/pull/968
## Summary This PR implements deletion verification tests for measures, streams, and traces in BanyanDB, following the architectural guidance from @hanahmily. ## Implementation ### Architecture - **Shared test cases**: `test/cases/schema/deletion.go` - Contains reusable deletion verification logic - **Standalone tests**: `test/integration/standalone/schema/deletion.go` - Integration tests for standalone mode ### Test Coverage - Measure deletion verification - Stream deletion verification - Trace deletion verification ### Validation Process (5 steps) 1. Write initial data to target subject 2. Delete the target subject 3. Verify new writes are rejected and subject is invisible (Get/Exist/List checks) 4. Write 20 batches to different subject in same group 5. Verify all data is retrievable (confirms merge/query works correctly) Resolves #13408 ## Testing The tests follow the existing BanyanDB integration test patterns: - Uses Ginkgo v2 test framework - Proper goroutine leak detection - Memory pool tracking - Clean test isolation with unique group names ## Note This PR includes standalone mode tests only. Distributed mode tests will be added in a follow-up PR to keep changes focused and reviewable. -- 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]
