Unverified Commit 90b07594 authored by Graham King's avatar Graham King Committed by GitHub
Browse files

chore: Fix tests logging setup (#5693)


Signed-off-by: default avatarGraham King <grahamk@nvidia.com>
parent 382a26f0
...@@ -1890,7 +1890,6 @@ mod test_integration_publisher { ...@@ -1890,7 +1890,6 @@ mod test_integration_publisher {
use crate::kv_router::protocols::ActiveLoad; use crate::kv_router::protocols::ActiveLoad;
use dynamo_runtime::distributed_test_utils::create_test_drt_async; use dynamo_runtime::distributed_test_utils::create_test_drt_async;
use dynamo_runtime::transports::event_plane::EventSubscriber; use dynamo_runtime::transports::event_plane::EventSubscriber;
use futures::StreamExt;
#[tokio::test] #[tokio::test]
#[ignore] // Mark as ignored as requested, because CI's integrations still don't have NATS #[ignore] // Mark as ignored as requested, because CI's integrations still don't have NATS
......
...@@ -673,10 +673,7 @@ mod tests { ...@@ -673,10 +673,7 @@ mod tests {
#[tokio::test] #[tokio::test]
async fn test_graceful_shutdown_waits_for_inflight_tcp_requests() { async fn test_graceful_shutdown_waits_for_inflight_tcp_requests() {
// Initialize tracing for test debugging // Initialize tracing for test debugging
let _ = tracing_subscriber::fmt() crate::logging::init();
.with_test_writer()
.with_max_level(tracing::Level::DEBUG)
.try_init();
let cancellation_token = CancellationToken::new(); let cancellation_token = CancellationToken::new();
let bind_addr: SocketAddr = "127.0.0.1:0".parse().unwrap(); let bind_addr: SocketAddr = "127.0.0.1:0".parse().unwrap();
...@@ -877,10 +874,7 @@ mod tests { ...@@ -877,10 +874,7 @@ mod tests {
#[tokio::test] #[tokio::test]
async fn test_worker_pool_bounds_concurrency() { async fn test_worker_pool_bounds_concurrency() {
let _ = tracing_subscriber::fmt() crate::logging::init();
.with_test_writer()
.with_max_level(tracing::Level::DEBUG)
.try_init();
// Use a small pool size for testing // Use a small pool size for testing
let pool_size = 3; let pool_size = 3;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment