[ 
https://issues.apache.org/jira/browse/CASSSIDECAR-478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Paulo Motta updated CASSSIDECAR-478:
------------------------------------
                        Authors: Paulo Motta
    Test and Documentation Plan: integration tests
                         Status: Patch Available  (was: Open)

https://github.com/pauloricardomg/cassandra-sidecar/pull/8

> 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
>          Components: Configuration
>            Reporter: Paulo Motta
>            Assignee: Paulo Motta
>            Priority: Major
>
> 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]

Reply via email to