Paulo Motta created CASSSIDECAR-478:
---------------------------------------
Summary: Add end-to-end integration tests for GET and PATCH
configuration endpoints
Key: CASSSIDECAR-478
URL: https://issues.apache.org/jira/browse/CASSSIDECAR-478
Project: Sidecar for Apache Cassandra
Issue Type: Task
Reporter: Paulo Motta
Assignee: Paulo Motta
Split out from CASSSIDECAR-436 into a separate ticket to keep PRs bite-sized
and facilitate review.
Add standalone integration tests that exercise the full GET and PATCH
configuration management workflow against a real FileBasedConfigurationProvider
and cassandra.yaml base template.
Test cases:
- GET then PATCH then GET: verify configuration is updated and ETag changes
- Stale hash conflict: PATCH with outdated ETag returns 409
- Multiple operations in one PATCH: apply two changes atomically
- Add then remove: overlay value is applied then removed, restoring the base
template value
- Nested configuration: modify a nested key and verify sibling keys are
preserved (copy-siblings)
- Test plus replace guard: use a test operation to assert current value before
replacing it
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]