[
https://issues.apache.org/jira/browse/LUCENE-9973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17350964#comment-17350964
]
Dawid Weiss commented on LUCENE-9973:
-------------------------------------
I see what this is. test-framework module uses the main sourceset and ignores
test-only rules.
> new Random() should be on forbidden APIs list (in tests).
> ---------------------------------------------------------
>
> Key: LUCENE-9973
> URL: https://issues.apache.org/jira/browse/LUCENE-9973
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Dawid Weiss
> Assignee: Dawid Weiss
> Priority: Trivial
>
> I don't think it is and it makes tests non-reproducible.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]