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

Create unit tests for AsyncRMCallback

    XMLWordPrintableJSON

Details

    Description

      There are no unit tests for the AsyncRMCallback type in the shim (scheduler_callback.go). It's tested indirectly but we have no idea about the coverage or how it behaves in rare scenarios.

      At least longer methods such as UpdateApplication(), UpdateAllocation() and UpdateNode() should be covered.

      Attachments

        Issue Links

          Activity

            People

              pbacsko Peter Bacsko
              pbacsko Peter Bacsko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: