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

Andres de la Peña commented on CASSANDRA-16180:
-----------------------------------------------

[~maedhroz] I have ported the Python dtests for short read protection to in-JVM 
([this 
commit|https://github.com/apache/cassandra/pull/801/commits/af71097f75ec17cc9dbc98176c8c012196cddefd]).
 I have extended them with some extra cases and added parametrization to toggle 
paging, flush, coordinator, etc., similarly to what we did for read repair in 
CASSANDRA-15977. The PR for dtests marks the ported tests with the new 
{{@ported_to_in_jvm}} annotation.

While writing these tests I have found what seems to be a bug in group-by 
queries using paging. I have created CASSANDRA-16307 to deal with that 
particular issue, trying to limit the scope of this ticket. The new tests 
hitting that bug are just temporarily 
[ignored|https://github.com/apache/cassandra/blob/af71097f75ec17cc9dbc98176c8c012196cddefd/test/distributed/org/apache/cassandra/distributed/test/ShortReadProtectionTest.java#L334]
 in the PR, so we can enable them once we fix the bug.

Next thing is working on the upgrade tests mentioned in the previous comment.

> 4.0 Quality: Coordination Test Audit
> ------------------------------------
>
>                 Key: CASSANDRA-16180
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16180
>             Project: Cassandra
>          Issue Type: Task
>          Components: Test/unit
>            Reporter: Andres de la Peña
>            Assignee: Andres de la Peña
>            Priority: Normal
>             Fix For: 4.0
>
>          Time Spent: 3h
>  Remaining Estimate: 0h
>
> This is a subtask of CASSANDRA-15579 focusing on coordination.
> I think that the main reference dtest for this is 
> [consistency_test.py|https://github.com/apache/cassandra-dtest/blob/master/consistency_test.py].
>  We should identify which other tests cover this and identify what should be 
> extended, similarly to what has been done with CASSANDRA-15977.
> [This 
> document|https://docs.google.com/document/d/1BBeGKla9tIPflZ2awkyfl5Hc_FTs3QYw98LWUnb1fTQ/edit?usp=sharing]
>  aims to list and describe the existing functional tests for coordination, so 
> we can have a broad view of what is currently covered. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to