[
https://issues.apache.org/jira/browse/GEODE-5863?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated GEODE-5863:
----------------------------------
Labels: pull-request-available swat (was: swat)
> CqDataDUnitTest.testMultipleExecuteWithInitialResults ignores assertion
> failures
> --------------------------------------------------------------------------------
>
> Key: GEODE-5863
> URL: https://issues.apache.org/jira/browse/GEODE-5863
> Project: Geode
> Issue Type: Improvement
> Reporter: Dan Smith
> Assignee: Dan Smith
> Priority: Major
> Labels: pull-request-available, swat
>
> This test has assertions in an asynchronous thread. However, it never
> actually checks the results from that thread, it just asserts that the thread
> finishes. In practice, processCqs always throws an Awaitility exception,
> which is ignored and the test passes.
> This is the problematic code. ThreadUtils.join does not check the result of
> the async invocation:
> {code}
> ThreadUtils.join(processCqs, 60 * 1000);
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)