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

Enforcing an order on properties in one test method of ChooseTest

    XMLWordPrintableJSON

    Details

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

      Description

      The test method "g_V_chooseXout_countX_optionX2L_nameX_optionX3L_valueMapX" in the test class "ChooseTest" in enforcing an order on the properties. According to my understanding, this's not expected from the data model.

      You can see that in the following assertion:

      assertEquals(Long.valueOf(1), counts.get("{name=[marko], age=[29]}"));
      

      If the order is different, then the test will fail.

       

        Attachments

          Activity

            People

            • Assignee:
              spmallette Stephen Mallette
              Reporter:
              moayad86 Moayad Alyaghshi
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: