Goldstein Lyor created SSHD-508:
-----------------------------------

             Summary: Use event-driven wait times for PortForwardingTest
                 Key: SSHD-508
                 URL: https://issues.apache.org/jira/browse/SSHD-508
             Project: MINA SSHD
          Issue Type: Improvement
    Affects Versions: 1.0.0
            Reporter: Goldstein Lyor
            Assignee: Goldstein Lyor
            Priority: Minor
             Fix For: 1.0.0


The current code uses _Thread.sleep(...)_ whose values _should_ be enough - 
however if the code is compiled and run on different hosts and/or load 
conditions it can fail due to minor fluctuations in the execution sequence. The 
idea is to signal when the client's request has reached the server and have the 
client wait *asynchronously* a much longer upper limit time for its request to 
be handled



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to