Skip to content

Flaky-test: ManagedLedgerTest.testLedgerReachMaximumRolloverTime #11669

@Technoboy-

Description

@Technoboy-

ManagedLedgerTest is flaky. The [testLedgerReachMaximumRolloverTime]test method fails sporadically.

Full exception stacktrace
Error:  Tests run: 121, Failures: 1, Errors: 0, Skipped: 52, Time elapsed: 55.596 s <<< FAILURE! - in org.apache.bookkeeper.mledger.impl.ManagedLedgerTest
Error:  testLedgerReachMaximumRolloverTime(org.apache.bookkeeper.mledger.impl.ManagedLedgerTest)  Time elapsed: 1.127 s  <<< FAILURE!
org.awaitility.core.ConditionTimeoutException: Condition with lambda expression in org.apache.bookkeeper.mledger.impl.ManagedLedgerTest that uses long, longorg.apache.bookkeeper.mledger.ManagedLedger was not fulfilled within 1 seconds 100 milliseconds.
	at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:165)
	at org.awaitility.core.CallableCondition.await(CallableCondition.java:78)
	at org.awaitility.core.CallableCondition.await(CallableCondition.java:26)
	at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:895)
	at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:864)
	at org.apache.bookkeeper.mledger.impl.ManagedLedgerTest.testLedgerReachMaximumRolloverTime(ManagedLedgerTest.java:2991)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
	at org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:45)
	at org.testng.internal.InvokeMethodRunnable.call(InvokeMethodRunnable.java:73)
	at org.testng.internal.InvokeMethodRunnable.call(InvokeMethodRunnable.java:11)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions