Uploaded image for project: 'Apache YuniKorn'
  1. Apache YuniKorn
  2. YUNIKORN-1740 [Umbrella] MockScheduler improvements
  3. YUNIKORN-1742

Add new methods to MockScheduler to handle Kubernetes objects

    XMLWordPrintableJSON

Details

    Description

      Tasks:

      • Update MockScheduler with some new methods which accept Pod, Node, ConfigMap and PriorityClass objects
      • Call events.SetRecorder(events.NewMockedRecorder()) during init because the tests can get stuck with the original event broadcaster code
      • Optionally, a new method which updates KubeClientMock.bindFn (useful for tests which want too see scheduling decisions)

      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: