Uploaded image for project: 'Apache YuniKorn'
  1. Apache YuniKorn
  2. YUNIKORN-2375

Move mocks to a central place

    XMLWordPrintableJSON

Details

    Description

      The ResourceManagerCallback API implementations are in a large number of places for tests. The base implementation that is used often resides in scheduler/tests this requires packages outside the scheduler to import that one.

      There is no need for that and it could even cause circular references on imports. Moving the base implementation and all mocks that we need into a top level package would simplify the code

      Attachments

        Issue Links

          Activity

            People

              wilfreds Wilfred Spiegelenburg
              wilfreds Wilfred Spiegelenburg
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: