geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (Jira)" <j...@apache.org>
Subject [jira] [Commented] (GEODE-7360) CqSecurityExecutionContextTamperingDistributedTest > executionContextShouldNotBeModifiableForCqQueriesWithMethodInvocations is flaky
Date Fri, 25 Oct 2019 21:18:01 GMT

    [ https://issues.apache.org/jira/browse/GEODE-7360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16960088#comment-16960088
] 

ASF subversion and git services commented on GEODE-7360:
--------------------------------------------------------

Commit 30b35cd999c6d61c6365afc8fd2efc019c2c0987 in geode's branch refs/heads/feature/GEODE-7258
from Juan José Ramos
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=30b35cd ]

GEODE-7360: Fix Flaky Cq Security Test (#4227)

- Use 'await().untilAsserted()' instead of direct assertion when
  checking amount of events and errors received by the CQListerer.

> CqSecurityExecutionContextTamperingDistributedTest > executionContextShouldNotBeModifiableForCqQueriesWithMethodInvocations
is flaky
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-7360
>                 URL: https://issues.apache.org/jira/browse/GEODE-7360
>             Project: Geode
>          Issue Type: Bug
>          Components: cq, querying, security
>            Reporter: Donal Evans
>            Assignee: Juan Ramos
>            Priority: Major
>              Labels: GeodeCommons
>             Fix For: 1.11.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> The test fails intermittently with:
> org.apache.geode.cache.query.cq.internal.CqSecurityExecutionContextTamperingDistributedTest
> executionContextShouldNotBeModifiableForCqQueriesWithMethodInvocations[RegionType:REPLICATE,
Accessor:name] FAILED
>     org.apache.geode.test.dunit.RMIException: While invoking org.apache.geode.cache.query.cq.internal.CqSecurityExecutionContextTamperingDistributedTest$$Lambda$32/1087176052.run
in VM 2 running on Host 08f781443fd7 with 4 VMs
>         at org.apache.geode.test.dunit.VM.executeMethodOnObject(VM.java:579)
>         at org.apache.geode.test.dunit.VM.invoke(VM.java:406)
>         at org.apache.geode.test.junit.rules.VMProvider.invoke(VMProvider.java:94)
>         at org.apache.geode.cache.query.cq.internal.CqSecurityExecutionContextTamperingDistributedTest.executionContextShouldNotBeModifiableForCqQueriesWithMethodInvocations(CqSecurityExecutionContextTamperingDistributedTest.java:130)
>         Caused by:
>         org.junit.ComparisonFailure: expected:<[1]> but was:<[0]>
>             at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>             at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>             at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>             at org.apache.geode.cache.query.cq.internal.CqSecurityExecutionContextTamperingDistributedTest.lambda$executionContextShouldNotBeModifiableForCqQueriesWithMethodInvocations$bb17a952$2(CqSecurityExecutionContextTamperingDistributedTest.java:134)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message