Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-15583

4.0 quality testing: Tooling, Bundled and First Party

    XMLWordPrintableJSON

    Details

    • Change Category:
      Quality Assurance
    • Complexity:
      Normal
    • Platform:
      All
    • Impacts:
      None

      Description

      Reference doc from NGCC for context.

      Shepherd: Sam Tunnicliffe

      Test plans should cover bundled first-party tooling and CLIs such as nodetool, cqlsh, and new tools supporting full query and audit logging (CASSANDRA-13983, CASSANDRA-12151).

      Progress

      ToolRunner has been added enabling us to test tools in java unit tests. This includes capturing their stdout/err and stdin i.e. Most tools have a starting unit test testing their cmd line args happy path. Tickets have been created to improve coverage of those  and flagged LHF. Also for those tools big enough they can't be addressed in a simple ticket such as nodetool, a placeholder ticket for future improvements has been created as well. Tickets and status are:

      Tool UX test UT coverage dtest coverage Comments
      Nodetool   CASSANDRA-16026
      CASSANDRA-16230
      CASSANDRA-16200
      CASSANDRA-16227
        Not all the sub commands are tested. Dtest also test nodetool as a side effect
      Cqlsh   CASSANDRA-16025  
      Cassandra-stress   CASSANDRA-16024  
      debug-cql   CASSANDRA-16023  
      fqltool CASSANDRA-16022  
      auditlogviewer CASSANDRA-15991 CASSANDRA-16021  
      Sstable utilities        
      sstabledump CASSANDRA-15991 CASSANDRA-16020  
      sstableexpiredblockers CASSANDRA-15991 CASSANDRA-16019  
      sstablelevelreset CASSANDRA-15991 CASSANDRA-16018  
      sstableloader CASSANDRA-16017  
      sstablemetadata CASSANDRA-15991 CASSANDRA-16016  
      sstableofflinerelevel CASSANDRA-15991 CASSANDRA-16015  
      sstablerepairedset CASSANDRA-15991 CASSANDRA-16014 Ran in dtests, no dedicated test
      sstablescrub CASSANDRA-15991 CASSANDRA-16013  
      sstablesplit CASSANDRA-15991 CASSANDRA-16012  
      sstableupgrade CASSANDRA-15991 CASSANDRA-16011  
      sstableutil CASSANDRA-15991 CASSANDRA-16010  
      sstableverify CASSANDRA-15991 CASSANDRA-16009  

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bereng Berenguer Blasi
                Reporter:
                jmckenzie Josh McKenzie
                Authors:
                Berenguer Blasi
                Reviewers:
                Sam Tunnicliffe
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: