gentoo/dev-java/lucene/files/lucene-2.4.1-skipFailingTest.patch
Ulrich Müller e4cf7c5a43
dev-java/lucene: Delete ASCII NUL chars from comment
The QA scan reported this as a binary file, and also git log -p doesn't
like it.

Acked-by: Miroslav Šulc <fordfrog@gentoo.org>
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
2024-06-02 09:27:37 +02:00

26 lines
1010 B
Diff
Raw Permalink Blame History

[junit]
[junit] Testsuite: org.apache.lucene.index.TestIndexInput
[junit] Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.069 sec
[junit]
[junit] Testcase: testRead(org.apache.lucene.index.TestIndexInput): FAILED
[junit] expected:<[]> but was:<[<5B><>]>
[junit] junit.framework.ComparisonFailure: expected:<[]> but was:<[<5B><>]>
[junit] at org.apache.lucene.index.TestIndexInput.testRead(TestIndexInput.java:89)
[junit]
[junit]
[junit] Test org.apache.lucene.index.TestIndexInput FAILED
https://bugs.gentoo.org/312437
--- a/src/test/org/apache/lucene/index/TestIndexInput.java
+++ b/src/test/org/apache/lucene/index/TestIndexInput.java
@@ -23,7 +23,7 @@ import org.apache.lucene.store.IndexInput;
import java.io.IOException;
public class TestIndexInput extends LuceneTestCase {
- public void testRead() throws IOException {
+ public void noTestRead() throws IOException {
IndexInput is = new MockIndexInput(new byte[] {
(byte) 0x80, 0x01,
(byte) 0xFF, 0x7F,