openthread / ot-commissioner

OpenThread Commissioner, a Thread commissioner for joining new Thread devices and managing Thread networks.
https://openthread.io/
BSD 3-Clause "New" or "Revised" License
52 stars 35 forks source link

[tests] test cancelling requests from CLI #137

Open wgtdkp opened 4 years ago

wgtdkp commented 4 years ago

This PR has mainly two changes:

  1. the user now can expect an error for a commissioner command
  2. add an integration tests to verify we can cancel requests with an interrupt signal.
wgtdkp commented 4 years ago

This PR depends on https://github.com/openthread/ot-commissioner/pull/138.

wgtdkp commented 4 years ago

@simonlingoogle I added a new API CancelDiscoverBorderAgent in border_agent.hpp to cancel discovery. Please review.