-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[Tests] Fix the flaky test in the ManagedLedgerTest #11016
Merged
lhotari
merged 1 commit into
apache:master
from
codelipenghui:penghui/fix-ML-flaky-test
Jun 22, 2021
Merged
[Tests] Fix the flaky test in the ManagedLedgerTest #11016
lhotari
merged 1 commit into
apache:master
from
codelipenghui:penghui/fix-ML-flaky-test
Jun 22, 2021
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
codelipenghui
commented
Jun 22, 2021
``` Error: testExpiredLedgerDeletionAfterManagedLedgerRestart(org.apache.bookkeeper.mledger.impl.ManagedLedgerTest) Time elapsed: 0.024 s <<< FAILURE! java.lang.AssertionError: expected [true] but found [false] at org.testng.Assert.fail(Assert.java:99) at org.testng.Assert.failNotEquals(Assert.java:1037) at org.testng.Assert.assertTrue(Assert.java:45) at org.testng.Assert.assertTrue(Assert.java:55) at org.apache.bookkeeper.mledger.impl.ManagedLedgerTest.testExpiredLedgerDeletionAfterManagedLedgerRestart(ManagedLedgerTest.java:2954) 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) ```
codelipenghui
requested review from
merlimat,
315157973,
congbobo184,
eolivelli,
gaoran10,
hangc0276,
lhotari and
sijie
June 22, 2021 08:40
lhotari
approved these changes
Jun 22, 2021
315157973
approved these changes
Jun 22, 2021
hangc0276
approved these changes
Jun 22, 2021
eolivelli
pushed a commit
to datastax/pulsar
that referenced
this pull request
Jun 22, 2021
fixes testExpiredLedgerDeletionAfterManagedLedgerRestart (cherry picked from commit 1623790)
eolivelli
pushed a commit
that referenced
this pull request
Jun 22, 2021
fixes testExpiredLedgerDeletionAfterManagedLedgerRestart (cherry picked from commit 1623790)
yangl
pushed a commit
to yangl/pulsar
that referenced
this pull request
Jun 23, 2021
fixes testExpiredLedgerDeletionAfterManagedLedgerRestart
bharanic-dev
pushed a commit
to bharanic-dev/pulsar
that referenced
this pull request
Mar 18, 2022
fixes testExpiredLedgerDeletionAfterManagedLedgerRestart
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.