You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by ad...@apache.org on 2021/02/16 15:30:16 UTC

[cassandra-dtest] branch trunk updated: Mark tests for short read protection and put-get tests as ported to in-JVM

This is an automated email from the ASF dual-hosted git repository.

adelapena pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra-dtest.git


The following commit(s) were added to refs/heads/trunk by this push:
     new e0ea690  Mark tests for short read protection and put-get tests as ported to in-JVM
e0ea690 is described below

commit e0ea690d462c042b5d217ef57c32457cf7501b4a
Author: Andrés de la Peña <a....@gmail.com>
AuthorDate: Mon Nov 30 18:05:04 2020 +0000

    Mark tests for short read protection and put-get tests as ported to in-JVM
    
    patch by Andrés de la Peña; reviewed by Caleb Rackliffe, Alex Petrov and Blake Eggleston for CASSANDRA-16180
---
 consistency_test.py | 10 ++++++++++
 putget_test.py      |  2 ++
 2 files changed, 12 insertions(+)

diff --git a/consistency_test.py b/consistency_test.py
index c974b9e..906a7b0 100644
--- a/consistency_test.py
+++ b/consistency_test.py
@@ -955,6 +955,7 @@ class TestConsistency(Tester):
                    cl=ConsistencyLevel.ALL)
 
     @since('3.0')
+    @ported_to_in_jvm('4.0')
     def test_13911(self):
         """
         @jira_ticket CASSANDRA-13911
@@ -1004,6 +1005,7 @@ class TestConsistency(Tester):
                    cl=ConsistencyLevel.ALL)
 
     @since('3.11')
+    @ported_to_in_jvm('4.0')
     def test_13911_rows_srp(self):
         """
         @jira_ticket CASSANDRA-13911
@@ -1067,6 +1069,7 @@ class TestConsistency(Tester):
                    cl=ConsistencyLevel.ALL)
 
     @since('3.11')
+    @ported_to_in_jvm('4.0')
     def test_13911_partitions_srp(self):
         """
         @jira_ticket CASSANDRA-13911
@@ -1131,6 +1134,7 @@ class TestConsistency(Tester):
                    cl=ConsistencyLevel.ALL)
 
     @since('3.0')
+    @ported_to_in_jvm('4.0')
     def test_13880(self):
         """
         @jira_ticket CASSANDRA-13880
@@ -1166,6 +1170,7 @@ class TestConsistency(Tester):
         assert_none(session, "SELECT DISTINCT id FROM test.test WHERE id = 0;", cl=ConsistencyLevel.ALL)
 
     @since('3.0')
+    @ported_to_in_jvm('4.0')
     def test_13747(self):
         """
         @jira_ticket CASSANDRA-13747
@@ -1219,6 +1224,7 @@ class TestConsistency(Tester):
         assert_length_equal(result, 5)
 
     @since('3.0')
+    @ported_to_in_jvm('4.0')
     def test_13595(self):
         """
         @jira_ticket CASSANDRA-13595
@@ -1282,6 +1288,7 @@ class TestConsistency(Tester):
                    cl=ConsistencyLevel.ALL)
 
     @since('3.0')
+    @ported_to_in_jvm('4.0')
     def test_12872(self):
         """
         @jira_ticket CASSANDRA-12872
@@ -1348,6 +1355,7 @@ class TestConsistency(Tester):
                    [[0], [4]],
                    cl=ConsistencyLevel.ALL)
 
+    @ported_to_in_jvm('4.0')
     def test_short_read(self):
         """
         @jira_ticket CASSANDRA-9460
@@ -1417,6 +1425,7 @@ class TestConsistency(Tester):
 
         session.execute('TRUNCATE cf')
 
+    @ported_to_in_jvm('4.0')
     def test_short_read_delete(self):
         """ Test short reads ultimately leaving no columns alive [#4000] """
         cluster = self.cluster
@@ -1454,6 +1463,7 @@ class TestConsistency(Tester):
 
         assert_none(session, "SELECT c, v FROM cf WHERE key=\'k0\' LIMIT 1", cl=ConsistencyLevel.QUORUM)
 
+    @ported_to_in_jvm('4.0')
     def test_short_read_quorum_delete(self):
         """
         @jira_ticket CASSANDRA-8933
diff --git a/putget_test.py b/putget_test.py
index bdb2cb1..c8fa5f3 100644
--- a/putget_test.py
+++ b/putget_test.py
@@ -14,9 +14,11 @@ from tools.data import (create_c1c2_table, insert_c1c2, insert_columns, putget,
 from tools.misc import ImmutableMapping, retry_till_success
 
 since = pytest.mark.since
+ported_to_in_jvm = pytest.mark.ported_to_in_jvm
 logger = logging.getLogger(__name__)
 
 
+@ported_to_in_jvm('4.0')
 class TestPutGet(Tester):
 
     @pytest.fixture(scope='function', autouse=True)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org