Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-1205

Auto set "enableAbandonedNodeEnforcement" in TestPipeline

Details

    Description

      At the moment one has to manually set enableAbandonedNodeEnforcement(false) in tests that do not run the TestPipeline, otherwise one gets an AbandonedNodeException on account of having nodes that were not run.

      This could probably be auto detected using the RunnableOnService and NeedsRunner annotations, the presence of which indicates a given test does indeed use a runner.

      Essentially we need to check if RunnableOnService / NeedsRunner are present on a given test and if so set enableAbandonedNodeEnforcement(true), otherwise set enableAbandonedNodeEnforcement(false).

      tgroh, kenn

      Attachments

        Issue Links

          Activity

            People

              staslev Stas Levin
              staslev Stas Levin
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: