-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathlocaldeployment.feature
29 lines (26 loc) · 1.65 KB
/
localdeployment.feature
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Feature: Testing local deployment using CLI in Greengrass
Background:
Given my device is registered as a Thing
And my device is running Greengrass
@LocalDeployment @OTFStable
Scenario: A component is deployed locally using CLI
When I create a Greengrass deployment with components
| aws.greengrass.Cli | GG_CLI_VERSION |
And I deploy the Greengrass deployment configuration
Then the Greengrass deployment is COMPLETED on the device after 180 seconds
Then I verify greengrass-cli is available in greengrass root
When I create a local deployment with components
| aws.greengrass.LocalHelloWorld | local:/greengrass/components/recipes/local_hello_world.yaml |
Then the local Greengrass deployment is SUCCEEDED on the device after 120 seconds
And the aws.greengrass.LocalHelloWorld log on the device contains the line "Hello World!!" within 20 seconds
@LocalDeployment @OTFStable
Scenario: A multi-platform component is deployed locally using CLI
When I create a Greengrass deployment with components
| aws.greengrass.Cli | GG_CLI_VERSION |
And I deploy the Greengrass deployment configuration
Then the Greengrass deployment is COMPLETED on the device after 180 seconds
Then I verify greengrass-cli is available in greengrass root
When I create a local deployment with components
| com.aws.LocalHelloWorldMultiplatform | local:/greengrass/components/recipes/local_hello_world_multiplatform.yaml |
Then the local Greengrass deployment is SUCCEEDED on the device after 120 seconds
And the com.aws.LocalHelloWorldMultiplatform log on the device contains the line "Hello World!" within 20 seconds