Skip to main content
Section

Finding shared-state races in a robot executor test

Published: Published on Zhilianhai

Executor concurrency does not protect shared application state. Separate callbacks can read and overwrite the same device record, even when a single test run appears correct.

How to test it

Interleave job changes and equipment status updates in a fixture. Check which job ID owns the final state, and retain the input order and state revisions so another reviewer can replay the failure.

Zhilianhai editorial diagram · Shared state, Concurrent callbacks, Revision checks
Zhilianhai editorial diagram · Shared state, Concurrent callbacks, Revision checks

Reference

ROS 2 Jazzy Executors

Browse this section

Information is provided for initial research. Verify specifications, pricing, policies and standards against the original source before making decisions.

BackSection

Company information

Company information comes from the Zhilianhai directory. To update a profile, find the company in the Companies directory or contact us with a verifiable source for review.

Latest section resources

Discussion & enquiries