File: disable-broken-test.patch

package info (click to toggle)
rust-hickory-proto 0.24.4-4.1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 2,852 kB
  • sloc: makefile: 2
file content (35 lines) | stat: -rw-r--r-- 1,033 bytes parent folder | download | duplicates (3)
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
disable broken tests

--- a/src/native_tls/tests.rs
+++ b/src/native_tls/tests.rs
@@ -39,7 +39,7 @@
 //  and subsequent reads of a message buffer reads the wrong length. It works for 2 iterations
 //  but not 3?
 // #[cfg(not(target_os = "linux"))]
-#[test]
+//#[test]
 #[cfg_attr(target_os = "macos", ignore)] // TODO: add back once https://github.com/sfackler/rust-native-tls/issues/143 is fixed
 fn test_tls_client_stream_ipv4() {
     tls_client_stream_test(IpAddr::V4(Ipv4Addr::new(127, 0, 0, 1)))
--- a/src/quic/tests.rs
+++ b/src/quic/tests.rs
@@ -44,7 +44,7 @@
     }
 }
 
-#[tokio::test]
+//#[tokio::test]
 async fn test_quic_stream() {
     let dns_name = "ns.example.com";
 
--- a/src/rustls/tests.rs
+++ b/src/rustls/tests.rs
@@ -35,7 +35,7 @@
 //  and subsequent reads of a message buffer reads the wrong length. It works for 2 iterations
 //  but not 3?
 // #[cfg(not(target_os = "linux"))]
-#[test]
+//#[test]
 fn test_tls_client_stream_ipv4() {
     tls_client_stream_test(IpAddr::V4(Ipv4Addr::new(127, 0, 0, 1)))
 }