[infinispan-issues] [JBoss JIRA] Commented: (ISPN-1212) Improved PING and FD protocols for the testsuite

Sanne Grinovero (JIRA) jira-events at lists.jboss.org
Thu Jun 30 11:24:24 EDT 2011


    [ https://issues.jboss.org/browse/ISPN-1212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12612039#comment-12612039 ] 

Sanne Grinovero commented on ISPN-1212:
---------------------------------------

nice ideas. but you would still need a timeout, as in case the code is broken the notification might never arrive? I like your approach as it's much better than waiting for an unknown longer time on the most common path.
I don't remember to which of my code you're referring to, but if that's the case I hope I'm also checking - in the case "just before expiry" that it's not too late already, in case the running thread is seriously slowed down by for example am overloaded CI machine.

> Improved PING and FD protocols for the testsuite
> ------------------------------------------------
>
>                 Key: ISPN-1212
>                 URL: https://issues.jboss.org/browse/ISPN-1212
>             Project: Infinispan
>          Issue Type: Task
>          Components: Test Suite
>            Reporter: Galder Zamarreño
>            Assignee: Galder Zamarreño
>             Fix For: 5.0.0.CR7
>
>
> Create:
> - INFINISPAN_TEST_PING: use thread locals to maintain cluster membership since all tests run in same JVM. This would make discovery rock solid and would make the testsuite more robust.
> - INFINISPAN_TEST_FD: instead of relying on pings to check whether the node is there, attach a cache or cache manager listener to detect when a cache stops or fails and propagate that information back to the membership.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the infinispan-issues mailing list