apache / apache/lucene

occasional TestMonitorReadonly.testReadonlyMonitorGetsRefreshed failure

Open
#14,115 1 comment 0 reactions 0 assignees View on GitHub
module:monitor type:test
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

### Description

e.g. see https://lists.apache.org/list?builds@lucene.apache.org:lte=1M:%22org.apache.lucene.monitor.TestMonitorReadonly.testReadonlyMonitorGetsRefreshed%22

```
Stack Trace:
java.lang.AssertionError
at __randomizedtesting.SeedInfo.seed([BD813153873A7E63:8B8B307BB814AC97]:0)
at junit@4.13.1/org.junit.Assert.fail(Assert.java:87)
at junit@4.13.1/org.junit.Assert.assertTrue(Assert.java:42)
at junit@4.13.1/org.junit.Assert.assertTrue(Assert.java:53)
at org.apache.lucene.monitor.TestMonitorReadonly.testReadonlyMonitorGetsRefreshed(TestMonitorReadonly.java:216)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
...
```

### Gradle command to reproduce

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with org.apache.lucene.monitor.TestMonitorReadonly.testReadonlyMonitorGetsRefreshed at line 216 and the linked failure reports. Run the named test repeatedly to characterize the intermittent assertion failure; no Gradle reproduction command is provided. Done means the failure is understood and the test passes reliably.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
search, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.