[jboss-jira] [JBoss JIRA] Created: (JGRP-1211) endless loop at SpeedTest

Danny Lade (JIRA) jira-events at lists.jboss.org
Tue Jun 8 12:36:38 EDT 2010


endless loop at SpeedTest
-------------------------

                 Key: JGRP-1211
                 URL: https://jira.jboss.org/browse/JGRP-1211
             Project: JGroups
          Issue Type: Bug
    Affects Versions: 2.10
         Environment: Windows 2007
            Reporter: Danny Lade
            Assignee: Bela Ban
            Priority: Minor


See at org.jgroups.tests.SpeedTest:

If pakets get lost - without using JGroups but pure sockets - the SpeedTest never ends. 

The solution is rather simple, at subclass Reciever add:

run {
  ...
  if (num_received != number) {
      System.err.println("  lost packet "+ number);

      num_received = number;
  }
  ...
  num_received++;


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list