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

Unit tests should not run the RunRecordCorrector

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 5.1.0, 5.0.0
    • Fix Version/s: 5.1.0
    • Component/s: App Fabric, Test
    • Labels:
    • Rank:
      1|i00ghr:

      Description

      AppFabricTestBase starts an AppFabricServer that in turn starts a LocalRunRecordCorrectorService. That attempts to correct runs once immediately. However, at that time the MDS (app.meta) does not exist yet. That can make the getDataset() call take a long time and hence the run record corrector's transaction times out. This makes the AppFabricServer fail to start up, which fails the test case. 

      This is the cause for a good percentage of the current flaky tests. 

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: