jpountz commented on code in PR #12024: URL: https://github.com/apache/lucene/pull/12024#discussion_r1049643447
########## lucene/core/src/test/org/apache/lucene/search/TestVectorScorer.java: ########## @@ -36,13 +36,26 @@ public class TestVectorScorer extends LuceneTestCase { public void testFindAll() throws IOException { + VectorEncoding encoding = + VectorEncoding.values()[random().nextInt(VectorEncoding.values().length)]; Review Comment: Nit: use RandomPicks#randomFrom? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org