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

Reduce runTime of TestZkUtils test.

    Details

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

      Description

      Currently the test ZkUtils.testRegisterProcessorAndGetIdShouldFailForDuplicateProcessorRegistration takesĀ  40 seconds to complete.

      During processor registration if there're duplicate processors in the group there's a retry based upon configured zookeeper session timeout(to mitigate ephemeral nodes left over from previous run).

      TestĀ takes longer time to run due to high zookeeper session timeout and fix is to reduce zookeeper sessionTimeout value to 500 ms for the test.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: