Skip to content

Refactor KafkaMirrorMaker2AssemblyOperatorPodSetTest to reduce duplicated mock setups #12766

@tinaselenge

Description

@tinaselenge

KafkaMirrorMaker2AssemblyOperatorPodSetTest has a large number of duplicated lines for setting up mocks.

Create a shared methods for setting up the mocks to reduce the duplications. This will make it easier to maintain the test code (updates to mock setup only need to be made in one place) and improve readability (the most of the lines in each test is for setting up mocks).

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions