From d7fd82c0f8517251d67b0af021d259dffaa4dce6 Mon Sep 17 00:00:00 2001 From: Dawid Weiss Date: Mon, 15 Oct 2018 13:53:08 +0200 Subject: [PATCH] LUCENE-8528: we can't have random outputs on input in a test with fixed assertions (test bug). --- lucene/core/src/test/org/apache/lucene/util/fst/TestFSTs.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lucene/core/src/test/org/apache/lucene/util/fst/TestFSTs.java b/lucene/core/src/test/org/apache/lucene/util/fst/TestFSTs.java index a6748a34865..e43107448d3 100644 --- a/lucene/core/src/test/org/apache/lucene/util/fst/TestFSTs.java +++ b/lucene/core/src/test/org/apache/lucene/util/fst/TestFSTs.java @@ -157,7 +157,7 @@ public class TestFSTs extends LuceneTestCase { final BytesRef NO_OUTPUT = outputs.getNoOutput(); final List> pairs = new ArrayList<>(terms2.length); for(int idx=0;idx(terms2[idx], output)); } FSTTester tester = new FSTTester<>(random(), dir, inputMode, pairs, outputs, false);