https://github.com/ros2/rmw/pull/275 changed the rmw_destroy_wait_set() API documentation to indicate that it returns RMW_RET_INVALID_ARGUMENT if wait_set is NULL. However, this wasn't the case in practice in the implementations of rmw_destroy_wait_set() or in the relevant test.
Change the test here to expect RMW_RET_INVALID_ARGUMENT.
https://github.com/ros2/rmw/pull/275 changed the
rmw_destroy_wait_set()
API documentation to indicate that it returnsRMW_RET_INVALID_ARGUMENT
ifwait_set
isNULL
. However, this wasn't the case in practice in the implementations ofrmw_destroy_wait_set()
or in the relevant test.Change the test here to expect
RMW_RET_INVALID_ARGUMENT
.Required
rmw
implementation PRs:rmw_zenoh
already returnsRMW_RET_INVALID_ARGUMENT
in this case)