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

ProgramLifecycleHttpHandlerTest fails intermittently

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.1.0
    • Component/s: App Fabric
    • Labels:
      None
    • Rank:
      1|hzywqv:

      Description

      The reason is that either

      • the test starts a program, then gets the run id from the run history. This fails if the program has not started at the time of the second call; or
      • the test stops the program, the immediately gets the history and asserts that is empty. This fails if the program has not fully stopped yet.

      In both cases the fix is to add a waitState() to wait until the program is actually running or stopped.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                andreas Andreas Neumann
                Reporter:
                andreas Andreas Neumann
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: