Uploaded image for project: 'Jalview'
  1. Jalview
  2. JAL-4674

Tests in "testTask1" are run regardless of whether they are in other groups

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.12.0
    • Fix Version/s: None
    • Component/s: Test suite
    • Labels:
      None

      Description

      Jalview test suite logic is not quite correct for the testTask...n sets which were introduced to avoid deadlocks.

      However, when 'gradle test' is run without any additional arguments we only want 'Functional' tests to run - not 'Network' tests (or any others..).

      see e.g. :
      jalview.bin.CommandsTest2:

        @Test(
          groups =
          { "Network", "testTask1" },
          dataProvider = "structureOpeningArgsNetworkParams",
          singleThreaded = true)
        public void do_network_structureOpeningArgsTest(String cmdLine,
                int seqNum, int annNum, int pdbPerSeqNum, int viewerNum)

      which is being run as part of regular CI builds but shouldn't be.

        Attachments

          Activity

            People

            Assignee:
            jprocter James Procter
            Reporter:
            jprocter James Procter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: