Skip to content

Commit 48fefcf

Browse files
committed
chore(test): Since 1.0.0 backon's retry doesn't take a ref anymore
Signed-off-by: Víctor Cuadrado Juan <vcuadradojuan@suse.de>
1 parent be97a0f commit 48fefcf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration_test.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ async fn test_otel() {
763763

764764
let metrics_output_json =
765765
(|| async { parse_exporter_output(metrics_output_file.as_file()).await })
766-
.retry(&exponential_backoff)
766+
.retry(exponential_backoff)
767767
.await
768768
.unwrap();
769769
let metrics = &metrics_output_json["resourceMetrics"][0]["scopeMetrics"][0];
@@ -781,7 +781,7 @@ async fn test_otel() {
781781

782782
let traces_output_json =
783783
(|| async { parse_exporter_output(traces_output_file.as_file()).await })
784-
.retry(&exponential_backoff)
784+
.retry(exponential_backoff)
785785
.await
786786
.unwrap();
787787
let spans = &traces_output_json["resourceSpans"][0]["scopeSpans"][0];

0 commit comments

Comments
 (0)