Skip to content

Commit c611193

Browse files
committed
add comment
1 parent d5f09fc commit c611193

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

opentelemetry-sdk/benches/metric.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,8 @@ fn benchmark_collect_histogram(b: &mut Bencher, n: usize) {
345345

346346
b.iter(|| {
347347
let _ = r.collect(&mut rm);
348+
// TODO - this assertion fails periodically, and breaks
349+
// our bench testing. We should fix it.
348350
// assert_eq!(rm.scope_metrics[0].metrics.len(), n);
349351
})
350352
}

0 commit comments

Comments
 (0)