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

Create MessagingService mocking classes

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 3.10
    • Legacy/Testing
    • None

    Description

      Interactions between clients and nodes in the cluster are taking place by exchanging messages through the MessagingService. Black box testing for message based systems is usually pretty easy, as we're just dealing with messages in/out. My suggestion would be to add tests that make use of this fact by mocking message exchanges via MessagingService. Given the right use case, this would turn out to be a much simpler and more efficient alternative for dtests.

      Attachments

        1. 12016-trunk.patch
          39 kB
          Stefan Podkowinski
        2. AddRepairRunnableTest.patch
          12 kB
          Stefan Podkowinski
        3. PaxosTests.patch
          52 kB
          Stefan Podkowinski
        4. ActiveRepairServiceTest.patch
          21 kB
          Stefan Podkowinski

        Issue Links

          Activity

            People

              spod Stefan Podkowinski
              spod Stefan Podkowinski
              Stefan Podkowinski
              Tom Hobbs
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: