test: add conditional compilation flag for datanode mock module (#2130)

This commit is contained in:
Ning Sun
2023-08-09 14:10:54 +08:00
committed by GitHub
parent d4e863882f
commit 7f5f8749da

View File

@@ -21,7 +21,7 @@ mod greptimedb_telemetry;
pub mod heartbeat;
pub mod instance;
pub mod metrics;
#[cfg(feature = "testing")]
#[cfg(any(test, feature = "testing"))]
mod mock;
pub mod server;
pub mod sql;