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

Log the seed used to initialize Random in tests

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.2.0-incubating, 3.1.2-incubating
    • Fix Version/s: 3.4.0, 3.3.4, 3.2.10
    • Component/s: test-suite
    • Labels:
      None

      Description

      HadoopGraphProvider and SparkHadoopGraphProvider use RANDOM.nextBoolean() in an attempt to get coverage over different load scenarios. In practice, this ends up causing nondeterministic execution of the test suite, which can mask real errors lingering in the code or test code.

      See TINKERPOP-1360

      Logging the seed used for these tests will allow us to re-run the test in the same way on failure.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                spmallette Stephen Mallette
                Reporter:
                pluradj Jason Plurad
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: