Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-12233

Dependency based testing

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 25.0.0
    • Component/s: None
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Sprint:
      Horizon 2019 - August 7th, Horizon 2019 - August 14th, Horizon 2019 - August 21st, Horizon 2019 - August 28th, Horizon 2019 - September 4th, Horizon 2019 - September 11th

      Description

      On every commit we currently run the whole suite of tests and ITs which takes over 3 hours on Bamboo and about 400 minutes of compute on CircleCI. Most of these tests don't need to be run this frequently, since the underlying code rarely changes.

      In order to reduce the amount of compute (and cost $$$) we need to run CI, I propose that we limit the set of tests and ITs we run in new branches to those that relate to the code changes being made.

      In particular, we can limit the set of tests and ITs we run to those that:
      1) Are in the modules in which files were modified
      2) Are in modules that depend on those we modified

        Attachments

          Activity

            People

            • Assignee:
              j-white Jesse White
              Reporter:
              j-white Jesse White
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: