Azure / azure-sdk-for-java

This repository is for active development of the Azure SDK for Java. For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/java/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-java.
MIT License
2.35k stars 1.99k forks source link

[BUG] SpringMonitorTest.shouldMonitor is flaky #36767

Open lmolkova opened 1 year ago

lmolkova commented 1 year ago

The test is executed in different pipelines and sometimes fails (pass rate is ~25%)

https://dev.azure.com/azure-sdk/public/_build/results?buildId=3080830&view=ms.vss-test-web.build-test-results-tab&runId=43091482&resultId=102901&paneView=debug

It's being changed to be more tolerant https://github.com/Azure/azure-sdk-for-java/pull/36713/commits/e51588bd14e1ff3f411c73c298f9847e8d301415#diff-f0d0f1635e3aee9c25275a58aa2832dcc2f1afeef51993fe9e94b9f4baf44a13, but perhaps it's worth taking a look?

/cc @jeanbisutti @heyams

lmolkova commented 1 year ago

thanks to @alzimmermsft for figuring out why monitor tests run in the EH pipeline - #36768

jeanbisutti commented 1 year ago

Thank you @alzimmermsft and @lmolkova

jeanbisutti commented 1 year ago

It may be resolved by making the OTel batch span processor configurable from the Spring starter. An issue was created on OTel side.