Closed Bravo555 closed 3 months ago
Add system tests has been added in https://github.com/thin-edge/thin-edge.io/pull/3006 to verify a successful connection to a device via the Cumulocity IoT Cloud Remote Access feature
QA has thoroughly checked the feature and here are the results:
When making a change to
c8y-remote-access-plugin
to removewebpki
dependency in #2185, a regression was manually caught. To reproduce:tokio-rustls-native-certs
was disabled which resulted in TLS support being disabledc8y-remote-access-plugin
replaced the original binary in/usr/bin/c8y-remote-access-plugin
Expected: Remote connection is successfully created, prompt is displayed and one can invoke commands.
Observed:
remote access terminal window printed the following message:
the following was published on the MQTT broker:
This seems like it could be easily caught by an automated integration test, but no such test existed for
c8y-remote-access-plugin
, so it should be created.The challenging portion is that remote connections are initiated by Cumulocity and the plugin needs to verify Cumulocity's TLS certificate.