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

Enforcing an order on properties in one test method of ChooseTest

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.4.2
    • 3.3.7, 3.4.2
    • test-suite
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: