Skip to content

Commit

Permalink
add system test for connection test using built-in bridge
Browse files Browse the repository at this point in the history
Signed-off-by: Reuben Miller <[email protected]>
  • Loading branch information
reubenmiller committed Jul 31, 2024
1 parent 2a9eed4 commit e790772
Showing 1 changed file with 24 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
*** Settings ***
Resource ../../../resources/common.resource
Library ThinEdgeIO

Test Setup Custom Setup
Test Teardown Get Logs

*** Test Cases ***

Connection test
[Documentation] Repeatedly test the cloud connection
FOR ${attempt} IN RANGE 0 10 1
${output}= Execute Command tedge connect c8y --test timeout=10
Should Not Contain ${output} connection check failed
END


*** Keywords ***

Custom Setup
${DEVICE_SN}= Setup
Set Suite Variable ${DEVICE_SN}
Execute Command tedge config set mqtt.bridge.built_in true
Execute Command tedge reconnect c8y

0 comments on commit e790772

Please sign in to comment.