[ 
https://issues.apache.org/jira/browse/CASSANDRASC-40?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17570139#comment-17570139
 ] 

ASF subversion and git services commented on CASSANDRASC-40:
------------------------------------------------------------

Commit 07deb07d2e57a32c67643385403980a9a3c3fc95 in cassandra-sidecar's branch 
refs/heads/trunk from Francisco Guerrero
[ https://gitbox.apache.org/repos/asf?p=cassandra-sidecar.git;h=07deb07 ]

CASSANDRASC-40 Fix search in list snapshot endpoint

This commit fixes test setup in SnapshotUtils. Because of the incorrect test 
setup
the execution is providing incorrect results. For example, assume the following 
path

/cassandra-test/data/ks/tbl/snapshots/test-snapshot

The test was configuring data directories as ["/cassandra-test/data"], but in a 
real
execution data directories is provided as ["/cassandra-test"]. This is causing 
the
endpoint to return incorrect values in the JSON payload.

Additionally, the response was providing the port for Cassandra and not the 
Sidecar
port.


> Fix search in list snapshot endpoint
> ------------------------------------
>
>                 Key: CASSANDRASC-40
>                 URL: https://issues.apache.org/jira/browse/CASSANDRASC-40
>             Project: Sidecar for Apache Cassandra
>          Issue Type: Bug
>          Components: Rest API
>            Reporter: Francisco Guerrero
>            Assignee: Francisco Guerrero
>            Priority: Normal
>              Labels: pull-request-available
>
> The test setup in {{SnapshotUtils}} is incorrect. Because of the incorrect 
> test setup
> the execution is providing incorrect results. For example, assume the 
> following path
> {{/cassandra-test/data/ks/tbl/snapshots/test-snapshot}}
> The test is configuring data directories as {{["/cassandra-test/data"]}}, but 
> in a real
> execution data directories are provided as {{["/cassandra-test"]}}. This is 
> causing the
> endpoint to return incorrect values in the JSON payload.
> Additionally, the response is providing the port for Cassandra and not the 
> Sidecar
> port.



--
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