Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-11813

Improve CoreSchedulerServiceTest runtime

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.0
    • Component/s: Scheduler, Test
    • Labels:
    • Rank:
      1|i0039b:

      Description

      CoreSchedulerServiceTest uses TimeUnit.SECONDS.sleep(10) multiple times.
      Instead, it should use Tasks.waitFor, to assert on some condition (such as run record completion).

        Attachments

          Activity

            People

            • Assignee:
              ali.anwar Ali Anwar
              Reporter:
              ali.anwar Ali Anwar
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: