cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-9159) Randomize some table parameters for CQL unit tests
Date Fri, 24 Apr 2015 00:09:38 GMT

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

Jonathan Ellis commented on CASSANDRA-9159:
-------------------------------------------

how is this different from CASSANDRA-9161?

> Randomize some table parameters for CQL unit tests
> --------------------------------------------------
>
>                 Key: CASSANDRA-9159
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9159
>             Project: Cassandra
>          Issue Type: Test
>            Reporter: Sylvain Lebresne
>
> CQL tests should ideally be run with as much different parameters as possible (compact
storage or not, compaction strategies, compressions, ...) and we can make {{CQLTester}} do
that more or less automatically for us since most of those parameters shouldn't influence
the results of most CQL tests. One reasonably simple idea would be to randomize the choice
of parameters (to some extend at least) every time the tests are ran so we get a variety of
testing over time.
> One minor difficulty is that for some parameters like compact storage, some tests won't
make sense, but it shouldn't be too hard to allow marking those tests (with an annotation
for instance) so that such parameter is not used for those specific test.



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

Mime
View raw message