File: disable-oversensitive-tests.patch

package info (click to toggle)
rust-reqwest 0.12.15-5
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,860 kB
  • sloc: makefile: 2
file content (34 lines) | stat: -rw-r--r-- 932 bytes parent folder | download | duplicates (2)
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
Index: reqwest/tests/timeouts.rs
===================================================================
--- reqwest.orig/tests/timeouts.rs
+++ reqwest/tests/timeouts.rs
@@ -89,7 +89,7 @@ async fn connect_timeout() {
     assert!(err.is_connect() && err.is_timeout());
 }
 
-#[tokio::test]
+/*#[tokio::test]
 #[cfg(not(any(target_arch = "wasm32",target_arch = "s390x")))]
 async fn connect_many_timeout_succeeds() {
     let _ = env_logger::try_init();
@@ -115,9 +115,9 @@ async fn connect_many_timeout_succeeds()
         .send()
         .await
         .unwrap();
-}
+}*/
 
-#[cfg(not(target_arch = "wasm32"))]
+/*#[cfg(not(target_arch = "wasm32"))]
 #[tokio::test]
 async fn connect_many_timeout() {
     let _ = env_logger::try_init();
@@ -146,7 +146,7 @@ async fn connect_many_timeout() {
     let err = res.unwrap_err();
 
     assert!(err.is_connect() && err.is_timeout());
-}
+}*/
 
 #[cfg(feature = "stream")]
 #[tokio::test]