Skip to content

Commit d6a7aed

Browse files
committed
Disable the metrics_simple example test due to sporadic segfaults on windows. Add changelog entry.
1 parent d2f740d commit d6a7aed

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ Increment the:
1515

1616
## [Unreleased]
1717

18+
* [TEST] Test examples in CI with CMake Part 1
19+
[#3449](https://github.com/open-telemetry/opentelemetry-cpp/pull/3449)
20+
1821
## [1.21 2025-05-28]
1922

2023
* [BUILD] Remove WITH_ABSEIL

examples/metrics_simple/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,7 @@ endif()
2020
if(BUILD_TESTING)
2121
add_test(NAME examples.metrics_simple
2222
COMMAND "$<TARGET_FILE:metrics_ostream_example>")
23+
# Disable the metrics_simple example test due to sporadic segfaults on Windows
24+
# See https://github.com/open-telemetry/opentelemetry-cpp/issues/3458
25+
set_tests_properties(examples.metrics_simple PROPERTIES DISABLED TRUE)
2326
endif()

0 commit comments

Comments
 (0)