Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
sfodagain committed May 28, 2024
1 parent b929c2d commit a1fc3cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ Feature: Testing features of Greengrassv2 basic discovery sample
Then the Greengrass deployment is COMPLETED on the device after 300 seconds
And the software.amazon.awssdk.sdk-gg-test-discovery log on the device contains the line "Successfully subscribed to topic" within 180 seconds
And the software.amazon.awssdk.sdk-gg-test-discovery log on the device contains the line "Received new message" within 240 seconds
And the software.amazon.awssdk.sdk-gg-test-discovery log on the device contains the line "disassociating CI_Greengrass_Discovery_Thing" within 260 seconds
And the software.amazon.awssdk.sdk-gg-test-discovery log on the device contains the line "disassociated CI_Greengrass_Discovery_Thing" within 260 seconds
2 changes: 2 additions & 0 deletions tests/greengrass/basic_discovery/recipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ Manifests:
sleep 10
echo "Starting discovery"
python3 {artifacts:path}/run_in_ci.py --runnable_dir {artifacts:path} --input_uuid ${UUID} --file {artifacts:path}/ci_run_greengrass_discovery_cfg.json
aws greengrassv2 batch-disassociate-client-device-from-core-device --core-device-thing-name {iot:thingName} --entries thingName=CI_Greengrass_Discovery_Thing
echo "Run: disassociated CI_Greengrass_Discovery_Thing"
Shutdown: |
echo "Shutdown: disassociating CI_Greengrass_Discovery_Thing"
aws greengrassv2 batch-disassociate-client-device-from-core-device --core-device-thing-name {iot:thingName} --entries thingName=CI_Greengrass_Discovery_Thing
Expand Down

0 comments on commit a1fc3cf

Please sign in to comment.