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/21 15:39:20 UTC
[jira] [Resolved] (SSHD-691) Attempt to create server instance only
once per test as much as possible
[ https://issues.apache.org/jira/browse/SSHD-691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Goldstein Lyor resolved SSHD-691.
---------------------------------
Resolution: Fixed
Fix Version/s: 1.3.0
> 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
> Fix For: 1.3.0
>
>
> 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)