Skip to content

Commit 7e08186

Browse files
committed
fix(test): Try to see if disable profiling fix failing test
1 parent 8a4677f commit 7e08186

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/service/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use tracing_subscriber::{EnvFilter, FmtSubscriber};
1111
async fn main() -> ExitCode {
1212
init_tracing();
1313

14-
#[cfg(feature = "profiling")]
14+
#[cfg(all(feature = "profiling", not(test)))]
1515
if let Err(e) = profiler::setup_profiling(
1616
"/opt/profiling/indexer-service".to_string(),
1717
150,

crates/tap-agent/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use tokio::signal::unix::{signal, SignalKind};
77

88
#[tokio::main]
99
async fn main() -> anyhow::Result<()> {
10-
#[cfg(feature = "profiling")]
10+
#[cfg(all(feature = "profiling", not(test)))]
1111
if let Err(e) = profiler::setup_profiling(
1212
"/opt/profiling/tap-agent".to_string(),
1313
150,

0 commit comments

Comments
 (0)