Uploaded image for project: 'Apache YuniKorn'
  1. Apache YuniKorn
  2. YUNIKORN-2 Support Gang Scheduling
  3. YUNIKORN-510

Remove the sleep in placeholder manager stop function

    XMLWordPrintableJSON

    Details

      Description

      There is a 3s sleep in the stop function of placeholder manager, per Tingyao:

      "When we send the struct{}{} to stopChan, the Start() might not set Running to false immediately. Or we can move sleep to TestPlaceholderManagerStartStop(), which is located in placeholder_manager_test.go."

      We should remove this from the stop function and move this to the UT code.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Huang Ting Yao Ting Yao,Huang
                Reporter:
                wwei Weiwei Yang
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: