diff --git a/tests/integration.rs b/tests/integration.rs index f88e56827..5b17fc856 100644 --- a/tests/integration.rs +++ b/tests/integration.rs @@ -108,7 +108,11 @@ fn single_empty_file(ext: Extension, #[any(size_range(0..8).lift())] exts: Vec, - #[strategy(proptest::option::of(0i16..12))] level: Option, + #[cfg_attr(not(target_arch = "arm"), strategy(proptest::option::of(0i16..12)))] + // Decrease the value of --level flag for `arm` systems, because our GitHub + // Actions CI runs QEMU which makes the memory consumption higher. + #[cfg_attr(target_arch = "arm", strategy(proptest::option::of(0i16..8)))] + level: Option, ) { let dir = tempdir().unwrap(); let dir = dir.path();