apache / apache/lucene

TestSortedDvMultiRangeQuery.testDuelWithStandardDisjunction failure

Open
#16,265 0 comments 0 reactions 0 assignees View on GitHub
type:test
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

### Description

```
TestSortedDvMultiRangeQuery > testDuelWithStandardDisjunction FAILED
--
  | java.lang.AssertionError: expected:<711 hits> but was:<712 hits>
  | at __randomizedtesting.SeedInfo.seed([5EEC297244EB01E6:DCEFF0B15C783422]:0)
  | at junit@4.13.2/org.junit.Assert.fail(Assert.java:89)
  | at junit@4.13.2/org.junit.Assert.failNotEquals(Assert.java:835)
  | at junit@4.13.2/org.junit.Assert.assertEquals(Assert.java:120)
  | at junit@4.13.2/org.junit.Assert.assertEquals(Assert.java:146)
  | at org.apache.lucene.sandbox.search.TestSortedDvMultiRangeQuery.testDuelWithStandardDisjunction(TestSortedDvMultiRangeQuery.java:154)
```

### Gradle command to reproduce

NOTE: reproduce with: gradlew test --tests TestSortedDvMultiRangeQuery.testDuelWithStandardDisjunction -Dtests.seed=5EEC297244EB01E6 -Dtests.nightly=true -Dtests.locale=kok-Latn-IN -Dtests.timezone=America/Creston -Dtests.asserts=true -Dtests.file.encoding=UTF-8

Contributor guide

Open the contributing guide

Research direction

Start with TestSortedDvMultiRangeQuery.java at line 154 and run the provided Gradle command with its seed and test settings. Compare testDuelWithStandardDisjunction's expected 711 hits with the observed 712 hits and trace the failing query behavior. Done means the test passes for the supplied reproduction.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
search, testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.