You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Paulo Motta (JIRA)" <ji...@apache.org> on 2016/07/22 03:40:20 UTC

[jira] [Created] (CASSANDRA-12272) Add byteman dtest for cqlsh schema mismatch handling

Paulo Motta created CASSANDRA-12272:
---------------------------------------

             Summary: Add byteman dtest for cqlsh schema mismatch handling
                 Key: CASSANDRA-12272
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12272
             Project: Cassandra
          Issue Type: Test
            Reporter: Paulo Motta
            Assignee: DS Test Eng
            Priority: Minor


Inducing a schema mismatch to test cqlsh schema mismatch can be done quite easily with byteman by commenting out [this line|https://github.com/apache/cassandra/blob/f6ca482516d3915b9a0b87a787d0c7893e39c92b/src/java/org/apache/cassandra/service/StorageService.java#L1877].

The idea is to add a byteman dtest that comments-out this line, and check that the following message is being print on cqlsh after a schema mismatch:
{{Warning: schema version mismatch detected}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)