Skip to content

Commit

Permalink
Refs #21244: Correct xfail lists
Browse files Browse the repository at this point in the history
Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
  • Loading branch information
Mario-DL committed Jul 3, 2024
1 parent d2898b7 commit be0425d
Show file tree
Hide file tree
Showing 9 changed files with 30 additions and 13 deletions.
2 changes: 1 addition & 1 deletion test/blackbox/XFAIL_DDS_PIM_SECURITY.list
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
BlackboxTests_DDS_PIM.Security.BuiltinAuthenticationAndCryptoPlugin_reliable_rtps_large_string.Datasharing
BlackboxTests_DDS_PIM.Security.BuiltinAuthenticationAndAccessAndCryptoPlugin_PermissionsDisableDiscoveryDisableAccessEncrypt_validation_ok_disable_discovery_enable_access_none.Transport
BlackboxTests_DDS_PIM.Security.BuiltinAuthenticationAndAccessAndCryptoPlugin_PermissionsDisableDiscoveryEnableAccessNone_validation_ok_enable_discovery_enable_access_none.Datasharing
BlackboxTests_DDS_PIM.Security.BuiltinAuthenticationAndAccessAndCryptoPlugin_PermissionsEnableDiscoveryDisableAccessNone_validation_ok_disable_discovery_enable_access_none.Transport
BlackboxTests_DDS_PIM.Security.BuiltinAuthenticationAndAccessAndCryptoPlugin_PermissionsEnableDiscoveryDisableAccessNone_validation_ok_disable_discovery_enable_access_none.Transport
7 changes: 7 additions & 0 deletions test/communication/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -645,3 +645,10 @@ if(Python3_Interpreter_FOUND)
endif()

endif()

# Add 'xfail' label to flaky tests
set(COMMUNICATION_XFAIL_LIST XFAIL_COMMUNICATION)

foreach(COMMUNICATION_XFAIL_TEST ${COMMUNICATION_XFAIL_LIST})
add_xfail_label(${CMAKE_CURRENT_SOURCE_DIR}/${COMMUNICATION_XFAIL_TEST}.list)
endforeach()
4 changes: 4 additions & 0 deletions test/communication/XFAIL_COMMUNICATION.list
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
TwoPublishersCommunicationBestEffort
SimpleCommunicationReliable
SHMCommunicationSubscriberDiesWhileProcessingMessage

6 changes: 2 additions & 4 deletions test/dds/communication/XFAIL_DDS_COMMUNICATION.list
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
DDSCommunication_zero_copy_pub_communication
TwoPublishersCommunicationBestEffort
DDSCommunication_zero_copy_communication
SimpleCommunicationReliable
SHMCommunicationSubscriberDiesWhileProcessingMessage
DDSCommunication_mix_zero_copy_communication
DDSCommunication_mix_zero_copy_communication

6 changes: 0 additions & 6 deletions test/performance/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,3 @@ if(VIDEO_TESTS)
add_subdirectory(video)
endif()

# Add 'xfail' label to flaky tests
set(PERFORMANCE_XFAIL_LIST XFAIL_PERFORMANCE)

foreach(PERFORMANCE_XFAIL_TEST ${PERFORMANCE_XFAIL_LIST})
add_xfail_label(${CMAKE_CURRENT_SOURCE_DIR}/${PERFORMANCE_XFAIL_TEST}.list)
endforeach()
7 changes: 7 additions & 0 deletions test/performance/latency/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -302,3 +302,10 @@ if(Python3_Interpreter_FOUND)

endforeach(latency_test_name)
endif()

# Add 'xfail' label to flaky tests
set(LATENCY_XFAIL_LIST XFAIL_LATENCY)

foreach(LATENCY_XFAIL_TEST ${LATENCY_XFAIL_LIST})
add_xfail_label(${CMAKE_CURRENT_SOURCE_DIR}/${LATENCY_XFAIL_TEST}.list)
endforeach()
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
performance.throughput.interprocess_best_effort_shm.data_loans_and_sharing
performance.latency.interprocess_best_effort_shm.security
performance.throughput.interprocess_best_effort_udp
performance.latency.interprocess_reliable_shm
performance.latency.interprocess_best_effort_shm.data_loans_and_sharing
7 changes: 7 additions & 0 deletions test/performance/throughput/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -303,3 +303,10 @@ if(Python3_Interpreter_FOUND)

endforeach(throughput_test_name)
endif()

# Add 'xfail' label to flaky tests
set(THROUGHPUT_XFAIL_LIST XFAIL_THROUGHPUT)

foreach(THROUGHPUT_XFAIL_TEST ${THROUGHPUT_XFAIL_LIST})
add_xfail_label(${CMAKE_CURRENT_SOURCE_DIR}/${THROUGHPUT_XFAIL_TEST}.list)
endforeach()
2 changes: 2 additions & 0 deletions test/performance/throughput/XFAIL_THROUGHPUT.list
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
performance.throughput.interprocess_best_effort_shm.data_loans_and_sharing
performance.throughput.interprocess_best_effort_udp

0 comments on commit be0425d

Please sign in to comment.