Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ jobs:
- name: Install dependencies
run: |
apt-get update
# Upgrade the image to the apt sync rosdep installs from: packages from two syncs can be ABI-incompatible.
apt-get upgrade -y
apt-get install -y ros-${{ matrix.ros_distro }}-test-msgs
if [ "${{ matrix.ros_distro }}" = "humble" ]; then
apt-get install -y ros-humble-rmw-cyclonedds-cpp
Expand Down Expand Up @@ -211,6 +213,8 @@ jobs:
- name: Install dependencies
run: |
apt-get update
# Upgrade the image to the apt sync rosdep installs from: packages from two syncs can be ABI-incompatible.
apt-get upgrade -y
apt-get install -y ros-${{ matrix.ros_distro }}-test-msgs
if [ "${{ matrix.ros_distro }}" = "humble" ] || [ "${{ matrix.ros_distro }}" = "jazzy" ]; then
apt-get install -y ros-${{ matrix.ros_distro }}-rmw-cyclonedds-cpp
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/opcua-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ jobs:
- name: Install dependencies
run: |
apt-get update
# Upgrade the image to the apt sync rosdep installs from: packages from two syncs can be ABI-incompatible.
apt-get upgrade -y
apt-get install -y ros-${{ matrix.ros_distro }}-test-msgs libyaml-cpp-dev libssl-dev
source /opt/ros/${{ matrix.ros_distro }}/setup.bash
for attempt in 1 2 3; do rosdep update && break; [ "$attempt" = 3 ] && exit 1; echo "rosdep update attempt $attempt failed, retrying" >&2; sleep 5; done
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,14 @@ class ParamDriftIntegrationTest : public ::testing::Test {
}
}

// Shut the default context down before exit(). Its destructor would otherwise call
// Context::shutdown() after exit() has destroyed rclcpp's thread_local state for this thread.
static void TearDownTestSuite() {
if (rclcpp::ok()) {
rclcpp::shutdown();
}
}

void SetUp() override {
gateway_ = std::make_shared<rclcpp::Node>("pd_it_gateway");
target_ = std::make_shared<rclcpp::Node>("pd_it_target");
Expand Down
Loading