Skip to content

fix(ci): license header + align zero-timeout test with #808#826

Merged
maciejmajek merged 1 commit into
RobotecAI:bartok9/fixesfrom
Bartok9:fix/ci-license-and-zero-timeout
Jul 22, 2026
Merged

fix(ci): license header + align zero-timeout test with #808#826
maciejmajek merged 1 commit into
RobotecAI:bartok9/fixesfrom
Bartok9:fix/ci-license-and-zero-timeout

Conversation

@Bartok9

@Bartok9 Bartok9 commented Jul 22, 2026

Copy link
Copy Markdown

Follow-up to #824 as requested by @maciejmajek — the two CI fixes for the salvage batch.

Changes

  1. check-license-lines: add the standard Apache header to tests/communication/__init__.py (was empty).
  2. build-and-test-ros2 (humble + jazzy): align test_get_future_result_zero_timeout with the intended behavior from fix(ros2): reject non-positive timeout_sec in get_future_result #808get_future_result now rejects non-positive timeout_sec with ValueError, so the stale assert None becomes pytest.raises(ValueError).

Based on bartok9/fixes so the #808 rejection change is present. Happy to retarget to main or fold in however is easiest. 🎻

 rejection

- tests/communication/__init__.py: add Apache license header (check-license-lines)
- test_ros2_async.py: zero timeout now expects ValueError, matching get_future_result rejecting non-positive timeout_sec (RobotecAI#808)
@maciejmajek
maciejmajek merged commit e1745a6 into RobotecAI:bartok9/fixes Jul 22, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants