Skip to content

Commit

Permalink
fix: Use log to record simulation time
Browse files Browse the repository at this point in the history
  • Loading branch information
liurenjie1024 committed Mar 24, 2023
1 parent 7302424 commit 80c086a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/tests/simulation/src/slt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ pub async fn run_slt_task(cluster: Arc<Cluster>, glob: &str, opts: &KillOpts) {
match tester
.run_async(record.clone())
.timed(|_res, elapsed| {
println!("Record {:?} finished in {:?}", record, elapsed)
tracing::debug!("Record {:?} finished in {:?}", record, elapsed)
})
.await
{
Expand All @@ -138,7 +138,7 @@ pub async fn run_slt_task(cluster: Arc<Cluster>, glob: &str, opts: &KillOpts) {
if let Err(err) = tester
.run_async(record.clone())
.timed(|_res, elapsed| {
println!("Record {:?} finished in {:?}", record, elapsed)
tracing::debug!("Record {:?} finished in {:?}", record, elapsed)
})
.await
{
Expand Down Expand Up @@ -178,7 +178,7 @@ pub async fn run_slt_task(cluster: Arc<Cluster>, glob: &str, opts: &KillOpts) {
match tester
.run_async(record.clone())
.timed(|_res, elapsed| {
println!("Record {:?} finished in {:?}", record, elapsed)
tracing::debug!("Record {:?} finished in {:?}", record, elapsed)
})
.await
{
Expand Down

0 comments on commit 80c086a

Please sign in to comment.