Skip to content

Commit 5f41727

Browse files
fix: Use debug log to record simulation time (risingwavelabs#8768)
1 parent 7302424 commit 5f41727

File tree

1 file changed

+3
-3
lines changed
  • src/tests/simulation/src

1 file changed

+3
-3
lines changed

src/tests/simulation/src/slt.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ pub async fn run_slt_task(cluster: Arc<Cluster>, glob: &str, opts: &KillOpts) {
116116
match tester
117117
.run_async(record.clone())
118118
.timed(|_res, elapsed| {
119-
println!("Record {:?} finished in {:?}", record, elapsed)
119+
tracing::debug!("Record {:?} finished in {:?}", record, elapsed)
120120
})
121121
.await
122122
{
@@ -138,7 +138,7 @@ pub async fn run_slt_task(cluster: Arc<Cluster>, glob: &str, opts: &KillOpts) {
138138
if let Err(err) = tester
139139
.run_async(record.clone())
140140
.timed(|_res, elapsed| {
141-
println!("Record {:?} finished in {:?}", record, elapsed)
141+
tracing::debug!("Record {:?} finished in {:?}", record, elapsed)
142142
})
143143
.await
144144
{
@@ -178,7 +178,7 @@ pub async fn run_slt_task(cluster: Arc<Cluster>, glob: &str, opts: &KillOpts) {
178178
match tester
179179
.run_async(record.clone())
180180
.timed(|_res, elapsed| {
181-
println!("Record {:?} finished in {:?}", record, elapsed)
181+
tracing::debug!("Record {:?} finished in {:?}", record, elapsed)
182182
})
183183
.await
184184
{

0 commit comments

Comments
 (0)