Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-2189

ConnectedComponent test assumes fixed order of vertices

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.4.1
    • Fix Version/s: 3.4.2
    • Component/s: test-suite
    • Labels:
      None

      Description

      The test g_V_hasLabelXsoftwareX_connectedComponent_project_byXnameX_byXcomponentX checks that the two vertices lop and ripple are in the same component. It does that by asserting that these vertices have the id of the marko vertex as their component.
      The id used for the component is simply the id of the vertex on which the program is executed first.

      So, the test fails if the program is executed first for another vertex even if the connected component is created correctly.

        Attachments

          Activity

            People

            • Assignee:
              spmallette Stephen Mallette
              Reporter:
              Florian Hockmann Florian Hockmann
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: