Skip to content

Commit

Permalink
tests: remove debug logger
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamEECS committed Dec 7, 2023
1 parent 0d39da6 commit 012b59a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions taos-ws/src/stmt/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -898,8 +898,8 @@ mod tests {
taos.exec("insert into t1 values(1640000000000, 0)").await?;

std::env::set_var("RUST_LOG", "debug");
// FIXME: only init for debug
pretty_env_logger::init();
// only init for debug
// pretty_env_logger::init();
let mut client = Stmt::from_dsn(format!("{dsn}/{db}", dsn = &dsn)).await?;
let stmt = client.s_stmt("select * from t1 where v < ?").await?;

Expand Down Expand Up @@ -994,8 +994,8 @@ mod tests {
.await?;

std::env::set_var("RUST_LOG", "debug");
// FIXME: only init for debug
pretty_env_logger::init();
// only init for debug
// pretty_env_logger::init();
let mut client = Stmt::from_dsn(format!("{dsn}/{db}", dsn = &dsn)).await?;
let stmt = client
.s_stmt("insert into ? using stb tags(?) values(?, ?)")
Expand Down

0 comments on commit 012b59a

Please sign in to comment.