From 4e7ba5bd0f3dff8ba78dcd049d34f51d9ab5df71 Mon Sep 17 00:00:00 2001 From: Shanicky Chen Date: Mon, 18 Sep 2023 19:08:03 +0800 Subject: [PATCH] Added new code block for #[cfg(not(madsim))] and #[cfg(test)] module. --- src/meta/src/rpc/election/sql.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/meta/src/rpc/election/sql.rs b/src/meta/src/rpc/election/sql.rs index 4d4124036bda9..b6bd02b179c26 100644 --- a/src/meta/src/rpc/election/sql.rs +++ b/src/meta/src/rpc/election/sql.rs @@ -535,6 +535,7 @@ where } } +#[cfg(not(madsim))] #[cfg(test)] mod tests { use std::sync::Arc;