Browse Source

Allow one RPC for each commit and each peer in RPC count tests.

Jing Yang 3 years ago
parent
commit
74b991c3b9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/agreement_tests.rs

+ 1 - 1
tests/agreement_tests.rs

@@ -312,7 +312,7 @@ fn count() -> config::Result<()> {
         }
 
         let diff = cfg.total_rpcs() - start_total;
-        if diff > ITERS + 1 + 3 {
+        if diff > (ITERS + 1 + 3) * (SERVERS - 1) {
             panic!("too many RPCs ({}) for {} entries", diff, ITERS);
         }