Disable tests use TLSv1 protocol

This commit is contained in:
lingsheng 2021-02-23 10:06:14 +08:00
parent 6742a24e33
commit 2b30491b49
2 changed files with 54 additions and 1 deletions

View File

@ -0,0 +1,48 @@
From fa599136b2c79e8ace41cedea6d74c057b1b8bc0 Mon Sep 17 00:00:00 2001
From: lingsheng <lingsheng@huawei.com>
Date: Tue, 23 Feb 2021 09:31:51 +0800
Subject: [PATCH] Disable tests use TLSv1 protocol
---
api/src/test/java/org/xnio/ssl/JsseXnioSslTestCase.java | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/api/src/test/java/org/xnio/ssl/JsseXnioSslTestCase.java b/api/src/test/java/org/xnio/ssl/JsseXnioSslTestCase.java
index e8c9a0f..552e313 100644
--- a/api/src/test/java/org/xnio/ssl/JsseXnioSslTestCase.java
+++ b/api/src/test/java/org/xnio/ssl/JsseXnioSslTestCase.java
@@ -237,6 +237,7 @@ public class JsseXnioSslTestCase {
assertNull(boundChannel.getOption(Options.STACK_SIZE));
}
+ /*
@Test
public void connectSsl3() throws Exception {
final InetSocketAddress localAddress = new InetSocketAddress(500);
@@ -258,6 +259,7 @@ public class JsseXnioSslTestCase {
assertEquals(serverAddress, connection.getPeerAddress());
assertTrue(connection.getOption(Options.TCP_NODELAY));
}
+ */
@Test
@Ignore
@@ -343,6 +345,7 @@ public class JsseXnioSslTestCase {
assertNull(boundChannel.getOption(Options.STACK_SIZE));
}
+ /*
@Test
public void connectSslChannel3() throws Exception {
final InetSocketAddress localAddress = new InetSocketAddress(500);
@@ -364,6 +367,7 @@ public class JsseXnioSslTestCase {
assertEquals(serverAddress, channel.getPeerAddress());
assertTrue(channel.getOption(Options.TCP_NODELAY));
}
+ */
@Test
public void connectSslChannel4() throws Exception {
--
2.23.0

View File

@ -1,6 +1,6 @@
Name: xnio
Version: 3.4.0
Release: 6
Release: 7
Summary: A simplified low-level I/O layer
License: ASL 2.0 and LGPLv2+
URL: http://www.jboss.org/xnio
@ -15,6 +15,8 @@ BuildRequires: mvn(org.jboss.logging:jboss-logging-processor)
BuildRequires: mvn(org.jboss.logmanager:jboss-logmanager) mvn(org.jmock:jmock-junit4)
BuildRequires: mvn(org.wildfly.common:wildfly-common)
Patch0001: 0001-Disable-tests-use-TLSv1-protocol.patch
%description
XNIO is a simplified low-level I/O layer which can be used anywhere you are using NIO today.
It frees you from the hassle of dealing with Selectors and the lack of NIO support for
@ -64,5 +66,8 @@ rm api/src/test/java/org/xnio/racecondition/ResumeReadsOnHandlingReadableChannel
%files help -f .mfiles-javadoc
%changelog
* Tue Feb 23 2021 lingsheng <lingsheng@huawei.com> - 3.4.0-7
- Disable tests use TLSv1 protocol
* Mon Dec 23 2019 Tianfei <tianfei16@huawei.com> - 3.4.0-6
- Package init