You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Moayad Alyaghshi (JIRA)" <ji...@apache.org> on 2019/04/09 13:44:00 UTC

[jira] [Created] (TINKERPOP-2194) Enforcing an order on properties in one test method of ChooseTest

Moayad Alyaghshi created TINKERPOP-2194:
-------------------------------------------

             Summary: Enforcing an order on properties in one test method of ChooseTest
                 Key: TINKERPOP-2194
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2194
             Project: TinkerPop
          Issue Type: Bug
          Components: test-suite
    Affects Versions: 3.4.2
            Reporter: Moayad Alyaghshi


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:
{code:java}
assertEquals(Long.valueOf(1), counts.get("{name=[marko], age=[29]}"));
{code}
If the order is different, then the test will fail.

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)