mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Goldstein Lyor (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SSHD-691) Attempt to create server instance only once per test as much as possible
Date Wed, 17 Aug 2016 16:52:20 GMT
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)

Mime
View raw message