Skip to content

Commit 56ea575

Browse files
committed
remove tracing initialization from tests
1 parent 9272c52 commit 56ea575

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

crates/chat-cli/src/auth/pkce.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -509,8 +509,6 @@ mod tests {
509509
#[ignore = "not in ci"]
510510
#[tokio::test]
511511
async fn test_pkce_flow_e2e() {
512-
tracing_subscriber::fmt::init();
513-
514512
let start_url = "https://amzn.awsapps.com/start".to_string();
515513
let region = Region::new("us-east-1");
516514
let client = client(region.clone());

crates/chat-cli/src/cli/acp/tests.rs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,6 @@ impl AcpTestHarness {
7777

7878
#[tokio::test]
7979
async fn test_acp_actor_system_conversation() -> eyre::Result<()> {
80-
tracing_subscriber::fmt()
81-
.with_max_level(tracing::Level::DEBUG)
82-
.with_writer(std::io::stderr)
83-
.try_init()
84-
.ok();
85-
8680
AcpTestHarness::new()
8781
.await?
8882
.set_mock_llm(|mut ctx: MockLLMContext| async move {
@@ -122,12 +116,6 @@ async fn test_acp_actor_system_conversation() -> eyre::Result<()> {
122116

123117
#[tokio::test]
124118
async fn test_acp_cancel_during_prompt() -> eyre::Result<()> {
125-
tracing_subscriber::fmt()
126-
.with_max_level(tracing::Level::DEBUG)
127-
.with_writer(std::io::stderr)
128-
.try_init()
129-
.ok();
130-
131119
// Create a coordination channel for mock LLM and test coordination
132120
let (coordination_tx, mut coordination_rx) = tokio::sync::mpsc::channel::<String>(1);
133121

0 commit comments

Comments
 (0)