Skip to content

Commit 40eba83

Browse files
nuke test
1 parent a567b4b commit 40eba83

1 file changed

Lines changed: 0 additions & 25 deletions

File tree

src/coordinator/query_coordinator.rs

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -441,28 +441,3 @@ impl CoordinatorToWorkerMetrics {
441441
}
442442
}
443443

444-
#[cfg(test)]
445-
mod tests {
446-
use super::*;
447-
448-
#[test]
449-
fn coordinator_to_worker_plan_bytes_sent_prints_as_bytes() {
450-
let metrics = ExecutionPlanMetricsSet::new();
451-
let coordinator_metrics = CoordinatorToWorkerMetrics::new(&metrics);
452-
453-
coordinator_metrics
454-
.plan_bytes_sent
455-
.add_bytes(4 * 1024 * 1024 * 1024);
456-
457-
let metrics_set = metrics.clone_inner();
458-
let metric = metrics_set
459-
.iter()
460-
.find(|m| m.value().name() == "plan_bytes_sent")
461-
.expect("plan_bytes_sent metric should be registered");
462-
463-
assert_eq!(
464-
format!("{}={}", metric.value().name(), metric.value()),
465-
"plan_bytes_sent=4.0 GB"
466-
);
467-
}
468-
}

0 commit comments

Comments
 (0)