[infinispan-issues] [JBoss JIRA] (ISPN-9060) AsynchronousInvocationTest.testNonCacheRpcCommands always takes 30 seconds
Dan Berindei (JIRA)
issues at jboss.org
Tue Apr 10 11:12:00 EDT 2018
[ https://issues.jboss.org/browse/ISPN-9060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13559011#comment-13559011 ]
Dan Berindei commented on ISPN-9060:
------------------------------------
Apparently {{GlobalInboundInvocationHandler.invokeReplicableCommand}} assumes {{PER_SENDER}} ordered commands do not need responses, which is true in our production code, but not in {{AsyncInvocationTest}}.
{{testCacheRpcCommands}} invokes a {{StreamRequestCommand}} without a type, causing a {{NullPointerException}}, but the response is never checked so the test passes.
> AsynchronousInvocationTest.testNonCacheRpcCommands always takes 30 seconds
> --------------------------------------------------------------------------
>
> Key: ISPN-9060
> URL: https://issues.jboss.org/browse/ISPN-9060
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Core
> Affects Versions: 9.2.1.Final
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Fix For: 9.3.0.Alpha1
>
>
> The test should fail, but {{CountDownLatchResponse}} uses {{CountDownLatch.await()}} and doesn't check the result.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the infinispan-issues
mailing list