Skip to content

Commit 794fad3

Browse files
committed
temp get rid of logging for ci again
1 parent 19fe2c0 commit 794fad3

File tree

2 files changed

+22
-22
lines changed

2 files changed

+22
-22
lines changed

sdk/rust/nym-sdk/src/stream_wrapper/mixnet_stream_wrapper.rs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ impl AsyncWrite for MixStreamWriter {
322322
mod tests {
323323
use super::*;
324324
use nym_sphinx::receiver::ReconstructedMessageCodec;
325-
use std::sync::Once;
325+
// use std::sync::Once;
326326
use tokio::io::AsyncReadExt;
327327
use tokio_util::codec::Decoder;
328328

@@ -334,16 +334,16 @@ mod tests {
334334
}
335335
}
336336

337-
static INIT: Once = Once::new();
337+
// static INIT: Once = Once::new();
338338

339-
fn init_logging() {
340-
if tracing::dispatcher::has_been_set() {
341-
return;
342-
}
343-
INIT.call_once(|| {
344-
nym_bin_common::logging::setup_tracing_logger();
345-
});
346-
}
339+
// fn init_logging() {
340+
// if tracing::dispatcher::has_been_set() {
341+
// return;
342+
// }
343+
// INIT.call_once(|| {
344+
// nym_bin_common::logging::setup_tracing_logger();
345+
// });
346+
// }
347347

348348
#[tokio::test]
349349
async fn simple_surb_reply_stream() -> Result<(), Box<dyn std::error::Error>> {

sdk/rust/nym-sdk/src/stream_wrapper/mixnet_stream_wrapper_ipr.rs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -506,18 +506,18 @@ mod tests {
506506
icmp_identifier, is_icmp_echo_reply, is_icmp_v6_echo_reply, send_ping_v4, send_ping_v6,
507507
};
508508
use std::net::{Ipv4Addr, Ipv6Addr};
509-
use std::sync::Once;
510-
511-
static INIT: Once = Once::new();
512-
513-
fn init_logging() {
514-
if tracing::dispatcher::has_been_set() {
515-
return;
516-
}
517-
INIT.call_once(|| {
518-
nym_bin_common::logging::setup_tracing_logger();
519-
});
520-
}
509+
// use std::sync::Once;
510+
511+
// static INIT: Once = Once::new();
512+
513+
// fn init_logging() {
514+
// if tracing::dispatcher::has_been_set() {
515+
// return;
516+
// }
517+
// INIT.call_once(|| {
518+
// nym_bin_common::logging::setup_tracing_logger();
519+
// });
520+
// }
521521

522522
#[tokio::test]
523523
async fn connect_to_ipr() -> Result<(), Box<dyn std::error::Error>> {

0 commit comments

Comments
 (0)