aws-greengrass / aws-greengrass-client-device-auth

Apache License 2.0
2 stars 3 forks source link

feat(uat): add T20 scenario and new connection step #360

Closed auarbekov closed 1 year ago

auarbekov commented 1 year ago

Issue #, if available: added t20 scenario and added new connection step

Description of changes:

Why is this change necessary: to implement Mqtt 5.0 features

How was this change tested: Scenarios run manually and on CI

Test results:

Given my device is registered as a Thing....................................passed
And my device is running Greengrass.........................................passed
When I create a Greengrass deployment with components.......................passed
And I create client device "clientDeviceTest"...............................passed
When I associate "clientDeviceTest" with ggc................................passed
And I update my Greengrass deployment configuration, setting the component aws.greengrass.clientdevices.Auth configuration to:.passed
And I update my Greengrass deployment configuration, setting the component aws.greengrass.client.Mqtt5JavaSdkClient configuration to:.passed
And I deploy the Greengrass deployment configuration........................passed
Then the Greengrass deployment is COMPLETED on the device after 5 minutes...passed
And the aws.greengrass.clientdevices.mqtt.EMQX log on the device contains the line "is running now!." within 1 minutes.passed
And I discover core device broker as "default_broker" from "clientDeviceTest" in OTF.passed
And I connect device "clientDeviceTest" on aws.greengrass.client.Mqtt5JavaSdkClient to "default_broker" using mqtt "v5".passed
When I create a Greengrass deployment with components.......................passed
And I deploy the Greengrass deployment configuration........................passed
Then the Greengrass deployment is COMPLETED on the device after 299 seconds.passed
And I discover core device broker as "default_broker" from "clientDeviceTest" in OTF.passed
And I force to set broker "default_broker" with port 9443...................passed
Then I wait 60 seconds......................................................passed
And I can not connect device "clientDeviceTest" on aws.greengrass.client.Mqtt5JavaSdkClient to "default_broker" using mqtt "v5".passed

Any additional information or context required to review the change:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

bgklika commented 1 year ago

Under internal review, I do not sure it is ready for your review. Probably close to finish.