Skip to content

Commit

Permalink
not testing on foxy any more (#310)
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Henkel <christian.henkel2@de.bosch.com>
  • Loading branch information
ct2034 authored Jul 31, 2023
1 parent f67c4b2 commit 48db510
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,9 @@ jobs:
diagnostic_updater,
self_test,
]
distro: [foxy, humble, rolling]
# distro: [foxy, humble, iron, rolling]
distro: [humble, rolling]
# distro: [humble, iron, rolling]
include:
- distro: foxy
os: ubuntu-20.04
- distro: humble
os: ubuntu-22.04
# - distro: iron
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Test diagnostics](https://img.shields.io/github/actions/workflow/status/ros/diagnostics/test.yaml?label=test&style=flat-square)](https://github.com/ros/diagnostics/actions/workflows/test.yaml) [![Lint diagnostics](https://img.shields.io/github/actions/workflow/status/ros/diagnostics/lint.yaml?label=lint&style=flat-square)](https://github.com/ros/diagnostics/actions/workflows/lint.yaml) [![ROS2 Foxy](https://img.shields.io/ros/v/foxy/diagnostics.svg?style=flat-square)](https://index.ros.org/r/diagnostics/#foxy) [![ROS2 Humble](https://img.shields.io/ros/v/humble/diagnostics.svg?style=flat-square)](https://index.ros.org/r/diagnostics/#humble) [![ROS2 Iron](https://img.shields.io/ros/v/iron/diagnostics.svg?style=flat-square)](https://index.ros.org/r/diagnostics/#iron) [![ROS2 Rolling](https://img.shields.io/ros/v/rolling/diagnostics.svg?style=flat-square)](https://index.ros.org/r/diagnostics/#rolling)
[![Test diagnostics](https://img.shields.io/github/actions/workflow/status/ros/diagnostics/test.yaml?label=test&style=flat-square)](https://github.com/ros/diagnostics/actions/workflows/test.yaml) [![Lint diagnostics](https://img.shields.io/github/actions/workflow/status/ros/diagnostics/lint.yaml?label=lint&style=flat-square)](https://github.com/ros/diagnostics/actions/workflows/lint.yaml) [![ROS2 Humble](https://img.shields.io/ros/v/humble/diagnostics.svg?style=flat-square)](https://index.ros.org/r/diagnostics/#humble) [![ROS2 Iron](https://img.shields.io/ros/v/iron/diagnostics.svg?style=flat-square)](https://index.ros.org/r/diagnostics/#iron) [![ROS2 Rolling](https://img.shields.io/ros/v/rolling/diagnostics.svg?style=flat-square)](https://index.ros.org/r/diagnostics/#rolling)

# Overview

Expand Down Expand Up @@ -36,7 +36,6 @@ Diagnostics messages that are not aggregated can be visualized by [`rqt_runtime_

The [`ros2` branch](https://github.com/ros/diagnostics/tree/ros2) targets

- *Foxy Fitzroy*,
- *Humble Hawksbill*
- *Iron Irwini* and
- *Rolling Ridley*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,12 @@ def _count_msgs(self, timeout_s):
return self.n_msgs_received

def test_publishing(self):
self.assertEqual(
self.subprocess.poll(),
None,
'NTP monitor subprocess died'
)

n = self._count_msgs(TIMEOUT_MAX_S)

self.assertGreater(
Expand Down

0 comments on commit 48db510

Please sign in to comment.