File: disable-tests-which-require-network.patch

package info (click to toggle)
rust-hickory-proto 0.24.4-6
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,928 kB
  • sloc: makefile: 2
file content (40 lines) | stat: -rw-r--r-- 1,132 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
36
37
38
39
40
Index: hickory-proto/src/h2/h2_client_stream.rs
===================================================================
--- hickory-proto.orig/src/h2/h2_client_stream.rs
+++ hickory-proto/src/h2/h2_client_stream.rs
@@ -546,6 +546,7 @@ mod tests {
     use super::*;
 
     #[test]
+    #[ignore = "uses internet"]
     fn test_https_google() {
         //env_logger::try_init().ok();
 
@@ -611,6 +612,7 @@ mod tests {
     }
 
     #[test]
+    #[ignore = "uses internet"]
     fn test_https_google_with_pure_ip_address_server() {
         //env_logger::try_init().ok();
 
Index: hickory-proto/src/h3/h3_client_stream.rs
===================================================================
--- hickory-proto.orig/src/h3/h3_client_stream.rs
+++ hickory-proto/src/h3/h3_client_stream.rs
@@ -462,6 +462,7 @@ mod tests {
     use super::*;
 
     #[test]
+    #[ignore = "uses internet"]
     fn test_h3_google() {
         //env_logger::try_init().ok();
 
@@ -527,6 +528,7 @@ mod tests {
     }
 
     #[test]
+    #[ignore = "uses internet"]
     fn test_h3_google_with_pure_ip_address_server() {
         //env_logger::try_init().ok();