Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

occasional TestMonitorReadonly.testReadonlyMonitorGetsRefreshed failure #14115

Open
cpoerschke opened this issue Jan 8, 2025 · 1 comment
Open

Comments

@cpoerschke
Copy link
Contributor

Description

e.g. see https://lists.apache.org/[email protected]:lte=1M:%22org.apache.lucene.monitor.TestMonitorReadonly.testReadonlyMonitorGetsRefreshed%22

Stack Trace:
java.lang.AssertionError
	at __randomizedtesting.SeedInfo.seed([BD813153873A7E63:8B8B307BB814AC97]:0)
	at [email protected]/org.junit.Assert.fail(Assert.java:87)
	at [email protected]/org.junit.Assert.assertTrue(Assert.java:42)
	at [email protected]/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

@cpoerschke
Copy link
Contributor Author

cpoerschke commented Jan 8, 2025

Have not yet been able to reproduce this locally but from code reading wondering if an onPurgeError hook in the test code would be helpful alongside the onPurge hook here: https://github.com/apache/lucene/blob/releases/lucene/10.1.0/lucene/monitor/src/test/org/apache/lucene/monitor/TestMonitorReadonly.java#L212

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant