From 936d97b7bfa403710a2559fd204d996983b12492 Mon Sep 17 00:00:00 2001 From: Eval EXEC Date: Mon, 12 Aug 2024 14:35:16 +0800 Subject: [PATCH] Integration Test: Put SyncChurn to last --- test/src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/src/main.rs b/test/src/main.rs index 06909fce1c..797bd2061b 100644 --- a/test/src/main.rs +++ b/test/src/main.rs @@ -398,7 +398,6 @@ fn all_specs() -> Vec> { Box::new(BlockSyncNonAncestorBestBlocks), Box::new(RequestUnverifiedBlocks), Box::new(SyncTimeout), - Box::new(SyncChurn), Box::new(SyncInvalid), Box::new(GetBlockFilterCheckPoints), Box::new(GetBlockFilterHashes), @@ -591,6 +590,8 @@ fn all_specs() -> Vec> { Box::new(CheckVmVersion2), Box::new(CheckVmBExtension), Box::new(RandomlyKill), + // Synchronize churn: This is a CPU-intensive operation, so we place it last. + Box::new(SyncChurn), ]; specs.shuffle(&mut thread_rng()); specs