File: ignore-tests-failing-debci.diff

package info (click to toggle)
rust-sysinfo 0.37.2-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 2,264 kB
  • sloc: ansic: 158; makefile: 27
file content (60 lines) | stat: -rw-r--r-- 1,760 bytes parent folder | download
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
Index: sysinfo/src/lib.rs
===================================================================
--- sysinfo.orig/src/common/system.rs
+++ sysinfo/src/common/system.rs
@@ -247,6 +247,7 @@ mod test {
         }
     }
 
+    #[ignore = "observed to fail on debci"]
     #[cfg(target_os = "linux")]
     #[test]
     fn check_processes_cpu_usage() {
@@ -423,6 +424,7 @@ mod test {
         }
     }
 
+    #[ignore = "observed to fail on debci"]
     #[test]
     fn check_cpus_number() {
         let mut s = System::new();
Index: sysinfo/tests/process.rs
===================================================================
--- sysinfo.orig/tests/process.rs
+++ sysinfo/tests/process.rs
@@ -267,6 +267,7 @@ fn cpu_usage_is_not_nan() {
     assert!(checked > 0);
 }
 
+#[ignore = "observed to fail on debci"]
 #[test]
 fn test_process_times() {
     use std::time::{SystemTime, UNIX_EPOCH};
@@ -381,2 +382,3 @@
 ))]
+#[ignore = "observed to fail on debci and ubuntu ci"]
 fn test_refresh_tasks() {
@@ -778,6 +780,7 @@ fn test_refresh_pids() {
 }
 
 #[test]
+#[ignore = "observed to fail on debci"]
 fn test_process_run_time() {
     if !sysinfo::IS_SUPPORTED_SYSTEM || cfg!(feature = "apple-sandbox") {
         return;
Index: sysinfo/benches/basic.rs
===================================================================
--- sysinfo.orig/benches/basic.rs
+++ sysinfo/benches/basic.rs
@@ -45,2 +45,3 @@
 #[bench]
+#[ignore = "observed to fail on debci"]
 fn bench_refresh_process(b: &mut test::Bencher) {
Index: sysinfo/tests/components.rs
===================================================================
--- sysinfo.orig/tests/components.rs
+++ sysinfo/tests/components.rs
@@ -3,2 +3,3 @@
 #[test]
+#[ignore = "observed to fail on debci"]
 fn test_components() {