Skip to content

Commit

Permalink
Update CMakeLists.txt to run serial
Browse files Browse the repository at this point in the history
  • Loading branch information
MishkaMN authored Dec 1, 2024
1 parent 6c572b2 commit a80c6ec
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions trajectory_executor/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,14 @@ if(BUILD_TESTING)
target_link_libraries(test_trajectory_executor
${node_lib}
)

# Add test properties to run in isolation
set_tests_properties(test_trajectory_executor
PROPERTIES
ENVIRONMENT "ROS_DOMAIN_ID=${TEST_DOMAIN_ID_OFFSET}$<PROCESS_ID>"
TIMEOUT 120 # Optional: Set a timeout in seconds
RUN_SERIAL TRUE # Run this test in isolation
)
endif()

# Install
Expand Down

0 comments on commit a80c6ec

Please sign in to comment.