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 2016/08/17 16:52:20 UTC

[jira] [Created] (SSHD-691) Attempt to create server instance only once per test as much as possible

Goldstein Lyor created SSHD-691:
-----------------------------------

             Summary: Attempt to create server instance only once per test as much as possible
                 Key: SSHD-691
                 URL: https://issues.apache.org/jira/browse/SSHD-691
             Project: MINA SSHD
          Issue Type: Improvement
    Affects Versions: 1.3.0
            Reporter: Goldstein Lyor
            Assignee: Goldstein Lyor


The current code usually starts a server on test setup and tears it down on test end. We should try and set up the server once per test using the {{@BeforeClass}}, {{@AfterClass}} annotations in as many test classes as possible as it would shorten their duration as well as avoid the rampant usage of ephemeral ports.



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