Uploaded image for project: 'Samza'
  1. Samza
  2. SAMZA-1748

Standalone failure tests.



    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:


      In the standalone model, a processor can leave and join the group at any point in time.

      This processor reshuffle is referred to as rebalancing which results in task(work) redistribution amongst other available, live processors in the group.

      Processor rebalancing in existing standalone integration tests(junit tests) is accomplished through clean shutdown of the processors.

      However, in real production scenarios, processor rebalancing is triggered through unclean shutdown and full garbage collection(GC) of the processors.

      As a part of this JIRA, a failure test suite covering these production like scenarios will be added.

      Failure test suite will be built using the zopkio test framework and will cover the following test cases:

      1. Force killing the leader processor of the group.
      2. Force killing a single follower in the group.
      3. Force killing multiple followers in the group.
      4. Force killing the leader and a follower in the group.
      5. Suspending and resuming the leader of the group.

      Since existing standalone integration tests cover event consumption/production after a rebalancing phase, these new tests will just test the coordination. We'll iterate on this initial suite and add tests whenever necessary.


          Issue Links



              • Assignee:
                spvenkat Shanthoosh Venkataraman
                spvenkat Shanthoosh Venkataraman
              • Votes:
                0 Vote for this issue
                2 Start watching this issue


                • Created: