-
Notifications
You must be signed in to change notification settings - Fork 15
/
swift-nio-disable-ecn-tests.patch
68 lines (54 loc) · 2.95 KB
/
swift-nio-disable-ecn-tests.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# The ECN tests only fail for older Android APIs.
diff --git a/Tests/NIOPosixTests/DatagramChannelTests.swift b/Tests/NIOPosixTests/DatagramChannelTests.swift
index 8cfe8de4..c36fb838 100644
--- a/Tests/NIOPosixTests/DatagramChannelTests.swift
+++ b/Tests/NIOPosixTests/DatagramChannelTests.swift
@@ -755,7 +755,7 @@ class DatagramChannelTests: XCTestCase {
}
func testEcnSendReceiveIPV4() {
- testEcnAndPacketInfoReceive(address: "127.0.0.1", vectorRead: false, vectorSend: false)
+ //testEcnAndPacketInfoReceive(address: "127.0.0.1", vectorRead: false, vectorSend: false)
}
func testEcnSendReceiveIPV6() {
@@ -766,7 +766,7 @@ class DatagramChannelTests: XCTestCase {
}
func testEcnSendReceiveIPV4VectorRead() {
- testEcnAndPacketInfoReceive(address: "127.0.0.1", vectorRead: true, vectorSend: false)
+ //testEcnAndPacketInfoReceive(address: "127.0.0.1", vectorRead: true, vectorSend: false)
}
func testEcnSendReceiveIPV6VectorRead() {
@@ -777,7 +777,7 @@ class DatagramChannelTests: XCTestCase {
}
func testEcnSendReceiveIPV4VectorReadVectorWrite() {
- testEcnAndPacketInfoReceive(address: "127.0.0.1", vectorRead: true, vectorSend: true)
+ //testEcnAndPacketInfoReceive(address: "127.0.0.1", vectorRead: true, vectorSend: true)
}
func testEcnSendReceiveIPV6VectorReadVectorWrite() {
@@ -887,7 +887,7 @@ class DatagramChannelTests: XCTestCase {
}
func testSimpleReceivePacketInfoIPV4() throws {
- try testSimpleReceivePacketInfo(address: "127.0.0.1")
+ //try testSimpleReceivePacketInfo(address: "127.0.0.1")
}
func testSimpleReceivePacketInfoIPV6() throws {
@@ -898,7 +898,7 @@ class DatagramChannelTests: XCTestCase {
}
func testReceiveEcnAndPacketInfoIPV4() {
- testEcnAndPacketInfoReceive(address: "127.0.0.1", vectorRead: false, vectorSend: false, receivePacketInfo: true)
+ //testEcnAndPacketInfoReceive(address: "127.0.0.1", vectorRead: false, vectorSend: false, receivePacketInfo: true)
}
func testReceiveEcnAndPacketInfoIPV6() {
@@ -909,7 +909,7 @@ class DatagramChannelTests: XCTestCase {
}
func testReceiveEcnAndPacketInfoIPV4VectorRead() {
- testEcnAndPacketInfoReceive(address: "127.0.0.1", vectorRead: true, vectorSend: false, receivePacketInfo: true)
+ //testEcnAndPacketInfoReceive(address: "127.0.0.1", vectorRead: true, vectorSend: false, receivePacketInfo: true)
}
func testReceiveEcnAndPacketInfoIPV6VectorRead() {
@@ -920,7 +920,7 @@ class DatagramChannelTests: XCTestCase {
}
func testReceiveEcnAndPacketInfoIPV4VectorReadVectorWrite() {
- testEcnAndPacketInfoReceive(address: "127.0.0.1", vectorRead: true, vectorSend: true, receivePacketInfo: true)
+ //testEcnAndPacketInfoReceive(address: "127.0.0.1", vectorRead: true, vectorSend: true, receivePacketInfo: true)
}
func testReceiveEcnAndPacketInfoIPV6VectorReadVectorWrite() {