Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions framework/python/src/core/testrun.py
Original file line number Diff line number Diff line change
Expand Up @@ -522,12 +522,13 @@ def _device_discovered(self, mac_addr):

if device is not None:
if mac_addr != device.mac_addr:
msg = f'Found device with mac addr: {mac_addr} but was ignored'
self._mqtt_client.send_message(mqtt.MQTTTopic.INFO, {'message': msg})
LOGGER.info(msg)
msg = f'Expected device mac address is {device.mac_addr}'
self._mqtt_client.send_message(mqtt.MQTTTopic.INFO, {'message': msg})
LOGGER.info(msg)
msg_found = f'Found device with mac addr: {mac_addr} but was ignored'
LOGGER.info(msg_found)
msg_expected = f'Expected device mac address is {device.mac_addr}'
LOGGER.info(msg_expected)
full_message = f'{msg_found}\n{msg_expected}'
self._mqtt_client.send_message(
mqtt.MQTTTopic.INFO, {'message': full_message})
# Ignore discovered device because it is not the target device
return
else:
Expand Down
2 changes: 1 addition & 1 deletion make/DEBIAN/control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: Testrun
Version: 2.3.4-beta.1
Version: 2.3.4-beta.2
Architecture: amd64
Maintainer: Google <ssm-orcas@google.com>
Homepage: https://github.com/google/testrun
Expand Down
Loading