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)

Reply via email to