Skip to content

Commit 5f3b561

Browse files
authored
Skipping flaky ntp test (#409)
* skipping flaky ntp test Signed-off-by: Christian Henkel <[email protected]> * Also skipping tests in diagnostic_aggregator Signed-off-by: Christian Henkel <[email protected]> --------- Signed-off-by: Christian Henkel <[email protected]>
1 parent 0958946 commit 5f3b561

File tree

2 files changed

+28
-26
lines changed

2 files changed

+28
-26
lines changed

diagnostic_aggregator/CMakeLists.txt

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -84,28 +84,29 @@ if(BUILD_TESTING)
8484
file(TO_CMAKE_PATH "${CMAKE_INSTALL_PREFIX}/lib/${PROJECT_NAME}/aggregator_node" AGGREGATOR_NODE)
8585
file(TO_CMAKE_PATH "${CMAKE_INSTALL_PREFIX}/lib/${PROJECT_NAME}/add_analyzer" ADD_ANALYZER)
8686
file(TO_CMAKE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/test/test_listener.py" TEST_LISTENER)
87-
set(create_analyzers_tests
88-
"primitive_analyzers"
89-
"all_analyzers"
90-
"analyzer_group"
91-
"empty_root_path")
92-
93-
foreach(test_name ${create_analyzers_tests})
94-
file(TO_CMAKE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/test/${test_name}.yaml" PARAMETER_FILE)
95-
file(TO_CMAKE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/test/expected_output/create_${test_name}" EXPECTED_OUTPUT)
96-
97-
configure_file(
98-
"test/create_analyzers.launch.py.in"
99-
"test_create_${test_name}.launch.py"
100-
@ONLY
101-
)
102-
add_launch_test(
103-
"${CMAKE_CURRENT_BINARY_DIR}/test_create_${test_name}.launch.py"
104-
TARGET "test_create_${test_name}"
105-
TIMEOUT 30
106-
ENV
107-
)
108-
endforeach()
87+
# SKIPPING FLAKY TEST
88+
# set(create_analyzers_tests
89+
# "primitive_analyzers"
90+
# "all_analyzers"
91+
# "analyzer_group"
92+
# "empty_root_path")
93+
94+
# foreach(test_name ${create_analyzers_tests})
95+
# file(TO_CMAKE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/test/${test_name}.yaml" PARAMETER_FILE)
96+
# file(TO_CMAKE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/test/expected_output/create_${test_name}" EXPECTED_OUTPUT)
97+
98+
# configure_file(
99+
# "test/create_analyzers.launch.py.in"
100+
# "test_create_${test_name}.launch.py"
101+
# @ONLY
102+
# )
103+
# add_launch_test(
104+
# "${CMAKE_CURRENT_BINARY_DIR}/test_create_${test_name}.launch.py"
105+
# TARGET "test_create_${test_name}"
106+
# TIMEOUT 30
107+
# ENV
108+
# )
109+
# endforeach()
109110

110111
set(analyzers_output_tests
111112
"primitive_analyzers"

diagnostic_common_diagnostics/CMakeLists.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,11 @@ if(BUILD_TESTING)
2626
test_cpu_monitor
2727
test/systemtest/test_cpu_monitor.py
2828
TIMEOUT 10)
29-
add_launch_test(
30-
test/systemtest/test_ntp_monitor_launchtest.py
31-
TARGET ntp_monitor_launchtest
32-
TIMEOUT 20)
29+
# SKIPPING FLAKY TEST
30+
# add_launch_test(
31+
# test/systemtest/test_ntp_monitor_launchtest.py
32+
# TARGET ntp_monitor_launchtest
33+
# TIMEOUT 20)
3334
add_launch_test(
3435
test/systemtest/test_hd_monitor_launchtest.py
3536
TARGET hd_monitor_launchtest

0 commit comments

Comments
 (0)