GEODE-10455: skipping potentially outdated test to ensure broken build
For all changes:
-
[x] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?
-
[ ] Has your PR been rebased against the latest commit within the target branch (typically
develop)? -
[ ] Is your initial contribution a single, squashed commit?
-
[ ] Does
gradlew buildrun cleanly? -
[ ] Have you written or updated unit tests to verify your changes?
-
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
Thanks @skysanjay for your contributions. I have re-ran the unit tests on develop pipeline and looks like this particular test isnt failing. The two tests that were failing are as below (see the pipeline here)
WanCopyRegionFunctionServiceTest > concurrentExecutionsDoesNotExceedMaxConcurrentExecutions() FAILED
org.awaitility.core.ConditionTimeoutException: Assertion condition defined as a lambda expression in org.apache.geode.cache.wan.internal.WanCopyRegionFunctionServiceTest
expected: 4
but was: 3 within 5 minutes.
at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:119)
at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:31)
at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:985)
at org.awaitility.core.ConditionFactory.untilAsserted(ConditionFactory.java:769)
at org.apache.geode.cache.wan.internal.WanCopyRegionFunctionServiceTest.concurrentExecutionsDoesNotExceedMaxConcurrentExecutions(WanCopyRegionFunctionServiceTest.java:216)
Caused by:
org.opentest4j.AssertionFailedError:
expected: 4
but was: 3
at sun.reflect.GeneratedConstructorAccessor9.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at org.apache.geode.cache.wan.internal.WanCopyRegionFunctionServiceTest.lambda$concurrentExecutionsDoesNotExceedMaxConcurrentExecutions$20(WanCopyRegionFunctionServiceTest.java:217)
WanCopyRegionFunctionServiceTest > severalExecuteWithDifferentRegionOrSenderAreAllowed() FAILED
org.awaitility.core.ConditionTimeoutException: Assertion condition defined as a lambda expression in org.apache.geode.cache.wan.internal.WanCopyRegionFunctionServiceTest
expected: 5
but was: 3 within 5 minutes.
at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:119)
at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:31)
at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:985)
at org.awaitility.core.ConditionFactory.untilAsserted(ConditionFactory.java:769)
at org.apache.geode.cache.wan.internal.WanCopyRegionFunctionServiceTest.severalExecuteWithDifferentRegionOrSenderAreAllowed(WanCopyRegionFunctionServiceTest.java:179)
Caused by:
org.opentest4j.AssertionFailedError:
expected: 5
but was: 3
at sun.reflect.GeneratedConstructorAccessor9.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at org.apache.geode.cache.wan.internal.WanCopyRegionFunctionServiceTest.lambda$severalExecuteWithDifferentRegionOrSenderAreAllowed$17(WanCopyRegionFunctionServiceTest.java:180)
Thank Sai for being patient about proposed changes based on what I could see and reproduce at first sight, however I was certain that there are broader missing details to me. I see a need for some level of refactoring to tests otherwise it is an endless chase.
Is there a way I can ensure build behavior is the same on my local or central server against the PR's ? or Other ways to help out this project ?
On Tue, Nov 12, 2024 at 11:50 AM Sai Boorlagadda @.***> wrote:
Thanks @skysanjay https://github.com/skysanjay for your contributions. I have re-ran the unit tests on develop pipeline and looks like this particular test isnt failing. The two tests that were failing are as below (see the pipeline here https://github.com/apache/geode/actions/runs/11787261644/job/32841448763?pr=7887 )
WanCopyRegionFunctionServiceTest > concurrentExecutionsDoesNotExceedMaxConcurrentExecutions() FAILED org.awaitility.core.ConditionTimeoutException: Assertion condition defined as a lambda expression in org.apache.geode.cache.wan.internal.WanCopyRegionFunctionServiceTest expected: 4 but was: 3 within 5 minutes. at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167) at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:119) at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:31) at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:985) at org.awaitility.core.ConditionFactory.untilAsserted(ConditionFactory.java:769) at org.apache.geode.cache.wan.internal.WanCopyRegionFunctionServiceTest.concurrentExecutionsDoesNotExceedMaxConcurrentExecutions(WanCopyRegionFunctionServiceTest.java:216) Caused by: org.opentest4j.AssertionFailedError: expected: 4 but was: 3 at sun.reflect.GeneratedConstructorAccessor9.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at org.apache.geode.cache.wan.internal.WanCopyRegionFunctionServiceTest.lambda$concurrentExecutionsDoesNotExceedMaxConcurrentExecutions$20(WanCopyRegionFunctionServiceTest.java:217) WanCopyRegionFunctionServiceTest > severalExecuteWithDifferentRegionOrSenderAreAllowed() FAILED org.awaitility.core.ConditionTimeoutException: Assertion condition defined as a lambda expression in org.apache.geode.cache.wan.internal.WanCopyRegionFunctionServiceTest expected: 5 but was: 3 within 5 minutes. at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167) at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:119) at org.awaitility.core.AssertionCondition.await(AssertionCondition.java:31) at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:985) at org.awaitility.core.ConditionFactory.untilAsserted(ConditionFactory.java:769) at org.apache.geode.cache.wan.internal.WanCopyRegionFunctionServiceTest.severalExecuteWithDifferentRegionOrSenderAreAllowed(WanCopyRegionFunctionServiceTest.java:179) Caused by: org.opentest4j.AssertionFailedError: expected: 5 but was: 3 at sun.reflect.GeneratedConstructorAccessor9.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at org.apache.geode.cache.wan.internal.WanCopyRegionFunctionServiceTest.lambda$severalExecuteWithDifferentRegionOrSenderAreAllowed$17(WanCopyRegionFunctionServiceTest.java:180)
— Reply to this email directly, view it on GitHub https://github.com/apache/geode/pull/7886#issuecomment-2469697994, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJXWIDVLCOUM3EKK3KKCZ4L2AGM2RAVCNFSM6AAAAABRPJWHE2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRZGY4TOOJZGQ . You are receiving this because you were mentioned.Message ID: @.***>
@JinwooHwang: It looks to me like this is a Close—wontfix situation, as @sboorlagadda has helpfully diagnosed the issue for @skysanjay. See what you think. Also, @skysanjay, in response to your question about ways to help: Please see the recent discussion(s) on the project mailing list for lots of new opportunities!