Skip to content

Commit 93053c9

Browse files
committed
disable traced_test
it seems to cause weird problems with cross test.
1 parent 6a46a0b commit 93053c9

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

src/util/connection_pool.rs

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,6 @@ mod tests {
531531
use n0_snafu::ResultExt;
532532
use testresult::TestResult;
533533
use tracing::trace;
534-
use tracing_test::traced_test;
535534

536535
use super::{ConnectionPool, Options, PoolConnectError};
537536
use crate::util::connection_pool::OnConnected;
@@ -639,7 +638,7 @@ mod tests {
639638
}
640639

641640
#[tokio::test]
642-
#[traced_test]
641+
// #[traced_test]
643642
async fn connection_pool_errors() -> TestResult<()> {
644643
// set up static discovery for all addrs
645644
let discovery = StaticProvider::new();
@@ -675,7 +674,7 @@ mod tests {
675674
}
676675

677676
#[tokio::test]
678-
#[traced_test]
677+
// #[traced_test]
679678
async fn connection_pool_smoke() -> TestResult<()> {
680679
let n = 32;
681680
let (ids, routers, discovery) = echo_servers(n).await?;
@@ -710,7 +709,7 @@ mod tests {
710709
/// Tests that idle connections are being reclaimed to make room if we hit the
711710
/// maximum connection limit.
712711
#[tokio::test]
713-
#[traced_test]
712+
// #[traced_test]
714713
async fn connection_pool_idle() -> TestResult<()> {
715714
let n = 32;
716715
let (ids, routers, discovery) = echo_servers(n).await?;
@@ -742,7 +741,7 @@ mod tests {
742741
///
743742
/// This is a basic smoke test that on_connected gets called at all.
744743
#[tokio::test]
745-
#[traced_test]
744+
// #[traced_test]
746745
async fn on_connected_error() -> TestResult<()> {
747746
let n = 1;
748747
let (ids, routers, discovery) = echo_servers(n).await?;
@@ -774,7 +773,7 @@ mod tests {
774773
///
775774
/// This checks that the pool timeout includes on_connected delay.
776775
#[tokio::test]
777-
#[traced_test]
776+
// #[traced_test]
778777
async fn on_connected_timeout() -> TestResult<()> {
779778
let n = 1;
780779
let (ids, routers, discovery) = echo_servers(n).await?;
@@ -811,7 +810,7 @@ mod tests {
811810
///
812811
/// This test fails if the connection watch is disabled.
813812
#[tokio::test]
814-
#[traced_test]
813+
// #[traced_test]
815814
async fn watch_close() -> TestResult<()> {
816815
let n = 1;
817816
let (ids, routers, discovery) = echo_servers(n).await?;

0 commit comments

Comments
 (0)