From b97b0f2b62eade242c3fb1872a5a4811d2d0b04c Mon Sep 17 00:00:00 2001 From: William Wen Date: Wed, 19 Jun 2024 16:18:08 +0800 Subject: [PATCH] fix test --- src/storage/hummock_test/src/compactor_tests.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/storage/hummock_test/src/compactor_tests.rs b/src/storage/hummock_test/src/compactor_tests.rs index a10b8963a6d7..2e2f8123be95 100644 --- a/src/storage/hummock_test/src/compactor_tests.rs +++ b/src/storage/hummock_test/src/compactor_tests.rs @@ -722,6 +722,10 @@ pub(crate) mod tests { ) .await; + global_storage + .wait_version(hummock_manager_ref.get_current_version().await) + .await; + let vnode = VirtualNode::from_index(1); for index in 0..kv_count { epoch.inc_epoch();