[infinispan-issues] [JBoss JIRA] (ISPN-2231) SyncReplTest#testMixingSyncAndAsyncOnSameTransport() looks to be broken

Tomas Sykora (JIRA) jira-events at lists.jboss.org
Tue Aug 28 04:37:15 EDT 2012


     [ https://issues.jboss.org/browse/ISPN-2231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomas Sykora updated ISPN-2231:
-------------------------------

    Description: 
Please see https://github.com/infinispan/infinispan/blob/master/core/src/test/java/org/infinispan/replication/SyncReplTest.java. When we switch lines 205 and 219 it pass with no problem. I expect that this shouldn't pass.

The problem is - how we can properly test weather replication call was SYNC or ASYNC.

Assigning to Tristan (or Mircea? familiar with mockito..) according to Manik's answer.

  was:
Please see https://github.com/infinispan/infinispan/blob/master/core/src/test/java/org/infinispan/replication/SyncReplTest.java. When we switch lines 205 and 219 it pass with no problem. I expect that this shouldn't pass.

The problem is - how we can properly test weather replication call was SYNC or ASYNC.

Assigning to Tristan (or Marcus? familiar with mockito..) according to Manik's answer.


    
> SyncReplTest#testMixingSyncAndAsyncOnSameTransport() looks to be broken
> -----------------------------------------------------------------------
>
>                 Key: ISPN-2231
>                 URL: https://issues.jboss.org/browse/ISPN-2231
>             Project: Infinispan
>          Issue Type: Bug
>            Reporter: Tomas Sykora
>            Assignee: Tristan Tarrant
>
> Please see https://github.com/infinispan/infinispan/blob/master/core/src/test/java/org/infinispan/replication/SyncReplTest.java. When we switch lines 205 and 219 it pass with no problem. I expect that this shouldn't pass.
> The problem is - how we can properly test weather replication call was SYNC or ASYNC.
> Assigning to Tristan (or Mircea? familiar with mockito..) according to Manik's answer.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the infinispan-issues mailing list