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

Test Failures on NonDex

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 3.7.0, 3.6.2, 3.5.5
    • None
    • None

    Description

      The tests org.apache.tinkerpop.gremlin.process.traversal.translator.ParameterizedGroovyTranslatorTest#shouldHandleSet, org.apache.tinkerpop.gremlin.util.iterator.IteratorUtilsTest#shouldConvertMapToIterator and org.apache.tinkerpop.gremlin.util.iterator.IteratorUtilsTest#shouldConvertMapToList passed using normal maven-test, but showed Non-deterministic behavior under NonDex(https://github.com/TestingResearchIllinois/NonDex) and thus failed. Some of the error messages are:


       

      and after some probing, I found the output from the test is not deterministic.

       

      Steps to reproduce the failure:

      Install Nondex(https://github.com/TestingResearchIllinois/NonDex) in the environment. 

      Then cd to nifi repository, and run the following:

      mvn install -pl gremlin-core -am -DskipTests
      
      mvn -pl gremlin-core test -Dtest=org.apache.tinkerpop.gremlin.process.traversal.translator.ParameterizedGroovyTranslatorTest#shouldHandleSet
      
      mvn -pl gremlin-core edu.illinois:nondex-maven-plugin:1.1.2:nondex -Dtest=org.apache.tinkerpop.gremlin.process.traversal.translator.ParameterizedGroovyTranslatorTest#shouldHandleSet

      Attachments

        1. image-2022-12-10-18-51-06-752.png
          110 kB
          Priyanka Awatramani
        2. image-2022-12-10-18-50-35-363.png
          103 kB
          Priyanka Awatramani
        3. image-2022-12-10-18-49-54-203.png
          124 kB
          Priyanka Awatramani

        Activity

          People

            xiazcy Yang Xia
            priyanka_a Priyanka Awatramani
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: