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

Log the seed used to initialize Random in tests

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Done
    • 3.2.0-incubating, 3.1.2-incubating
    • 3.4.0, 3.3.4, 3.2.10
    • test-suite
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: