Explorar el Código

Ignore uninlined_format_args warnings in tests.

Jing Yang hace 3 años
padre
commit
48c988f35b
Se han modificado 4 ficheros con 6 adiciones y 0 borrados
  1. 2 0
      kvraft/tests/service_test.rs
  2. 2 0
      test_configs/src/lib.rs
  3. 1 0
      tests/agreement_tests.rs
  4. 1 0
      tests/persist_tests.rs

+ 2 - 0
kvraft/tests/service_test.rs

@@ -1,3 +1,5 @@
+#![allow(clippy::uninlined_format_args)]
+
 use std::sync::atomic::{AtomicUsize, Ordering};
 use std::sync::Arc;
 

+ 2 - 0
test_configs/src/lib.rs

@@ -1,3 +1,5 @@
+#![allow(clippy::uninlined_format_args)]
+
 pub mod interceptor;
 pub mod kvraft;
 mod persister;

+ 1 - 0
tests/agreement_tests.rs

@@ -1,4 +1,5 @@
 #![allow(clippy::identity_op)]
+#![allow(clippy::uninlined_format_args)]
 
 use rand::{thread_rng, Rng};
 use scopeguard::defer;

+ 1 - 0
tests/persist_tests.rs

@@ -1,4 +1,5 @@
 #![allow(clippy::identity_op)]
+#![allow(clippy::uninlined_format_args)]
 
 use std::sync::atomic::AtomicBool;
 use std::sync::atomic::Ordering;