This is an automated email from the ASF dual-hosted git repository. tomaswolf pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mina-sshd.git
commit 9def2039a7d98e8d91521d3068b14ba69413e4c5 Author: Thomas Wolf <[email protected]> AuthorDate: Sun Apr 19 18:58:48 2026 +0200 Fix annotation to ignore an unstable test Use JUnit 5 @Disabled, not JUnit 4 @Ignore. --- sshd-core/src/test/java/org/apache/sshd/server/ServerTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sshd-core/src/test/java/org/apache/sshd/server/ServerTest.java b/sshd-core/src/test/java/org/apache/sshd/server/ServerTest.java index 8126d5283..b38145918 100644 --- a/sshd-core/src/test/java/org/apache/sshd/server/ServerTest.java +++ b/sshd-core/src/test/java/org/apache/sshd/server/ServerTest.java @@ -84,9 +84,9 @@ import org.apache.sshd.util.test.BaseTestSupport; import org.apache.sshd.util.test.EchoShell; import org.apache.sshd.util.test.EchoShellFactory; import org.apache.sshd.util.test.TestChannelListener; -import org.junit.Ignore; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.MethodOrderer.MethodName; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.TestMethodOrder; @@ -347,7 +347,7 @@ public class ServerTest extends BaseTestSupport { * read the data, filling the ssh window and the tcp socket - the server session becomes idle, but the ssh * disconnect message can't be written - the server session is forcibly closed */ - @Ignore("Unstable test") + @Disabled("Unstable test") @Test void serverIdleTimeoutWithForce() throws Exception { final long idleTimeoutValue = TimeUnit.SECONDS.toMillis(5L);
