You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Goldstein Lyor (JIRA)" <ji...@apache.org> on 2015/06/30 09:11:04 UTC

[jira] [Resolved] (SSHD-508) Use event-driven wait times for PortForwardingTest

     [ https://issues.apache.org/jira/browse/SSHD-508?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Goldstein Lyor resolved SSHD-508.
---------------------------------
    Resolution: Fixed

> 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)