You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "stephen mallette (JIRA)" <ji...@apache.org> on 2018/07/17 10:17:00 UTC

[jira] [Closed] (TINKERPOP-1365) Log the seed used to initialize Random in tests

     [ https://issues.apache.org/jira/browse/TINKERPOP-1365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stephen mallette closed TINKERPOP-1365.
---------------------------------------
       Resolution: Done
         Assignee: stephen mallette
    Fix Version/s: 3.2.10
                   3.3.4
                   3.4.0

> Log the seed used to initialize Random in tests
> -----------------------------------------------
>
>                 Key: TINKERPOP-1365
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1365
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: test-suite
>    Affects Versions: 3.2.0-incubating, 3.1.2-incubating
>            Reporter: Jason Plurad
>            Assignee: stephen mallette
>            Priority: Major
>             Fix For: 3.4.0, 3.3.4, 3.2.10
>
>
> {{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.



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