Skip to content

Commit

Permalink
Integration Test: Put SyncChurn to last
Browse files Browse the repository at this point in the history
Signed-off-by: Eval EXEC <[email protected]>
  • Loading branch information
eval-exec committed Aug 12, 2024
1 parent b866491 commit 45bef52
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,6 @@ fn all_specs() -> Vec<Box<dyn Spec>> {
Box::new(BlockSyncNonAncestorBestBlocks),
Box::new(RequestUnverifiedBlocks),
Box::new(SyncTimeout),
Box::new(SyncChurn),
Box::new(SyncInvalid),
Box::new(GetBlockFilterCheckPoints),
Box::new(GetBlockFilterHashes),
Expand Down Expand Up @@ -591,6 +590,8 @@ fn all_specs() -> Vec<Box<dyn Spec>> {
Box::new(CheckVmVersion2),
Box::new(CheckVmBExtension),
Box::new(RandomlyKill),
// SyncChurn : This is a CPU-intensive operation, so we place it last.
Box::new(SyncChurn),
];
specs.shuffle(&mut thread_rng());
specs
Expand Down

0 comments on commit 45bef52

Please sign in to comment.