From 6344b1e0db77fdc89d9b649413a648307b4873d1 Mon Sep 17 00:00:00 2001 From: LFC <990479+MichaelScofield@users.noreply.github.com> Date: Tue, 5 Dec 2023 10:35:23 +0800 Subject: [PATCH] fix: fragile integration tests (#2870) --- tests-integration/src/cluster.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests-integration/src/cluster.rs b/tests-integration/src/cluster.rs index 3de98634762e..f114e3015cac 100644 --- a/tests-integration/src/cluster.rs +++ b/tests-integration/src/cluster.rs @@ -270,7 +270,8 @@ impl GreptimeDbClusterBuilder { Arc::new(handlers_executor), ); - let instance = FrontendBuilder::new(meta_backend, datanode_clients, meta_client) + let instance = FrontendBuilder::new(meta_backend.clone(), datanode_clients, meta_client) + .with_cache_invalidator(meta_backend) .with_heartbeat_task(heartbeat_task) .try_build() .await