Skip to content

Commit 7f12af9

Browse files
committed
Debug arm64
1 parent 6aae34e commit 7f12af9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/OpenTelemetry.Exporter.Prometheus.HttpListener.Tests/PrometheusCollectionManagerTests.cs

+3-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,9 @@ public async Task EnterExitCollectTest(int scrapeResponseCacheDurationMillisecon
112112
exporter.CollectionManager.ExitCollect();
113113
}
114114

115-
await Task.Delay(exporter.ScrapeResponseCacheDurationMilliseconds);
115+
#pragma warning disable CA1849
116+
Thread.Sleep(exporter.ScrapeResponseCacheDurationMilliseconds);
117+
#pragma warning restore CA1849
116118

117119
counter.Add(100);
118120

0 commit comments

Comments
 (0)