From c9ba553b922537596a3f2a438bae916b9d7e0c25 Mon Sep 17 00:00:00 2001 From: Alfred Gedeon Date: Thu, 7 Dec 2023 09:48:16 -0800 Subject: [PATCH] fix python path + warning --- .github/workflows/ci.yml | 8 ++++---- servicetests/tests/FleetProvisioning/main.cpp | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 63c605e50..00597a329 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -485,22 +485,22 @@ jobs: - name: run Fleet Provisioning service client test for MQTT311 working-directory: ./aws-iot-device-sdk-cpp-v2/servicetests run: | - export PYTHONPATH=${{ github.workspace }}/utils + export PYTHONPATH=${{ github.workspace }}/aws-iot-device-sdk-cpp-v2/utils python3 ./test_cases/test_fleet_provisioning.py --config-file test_cases/mqtt3_fleet_provisioning_cfg.json --thing-name-prefix Fleet_Thing_ - name: run Fleet Provisioning service client test for MQTT5 working-directory: ./aws-iot-device-sdk-cpp-v2/servicetests run: | - export PYTHONPATH=${{ github.workspace }}/utils + export PYTHONPATH=${{ github.workspace }}/aws-iot-device-sdk-cpp-v2/utils python3 ./test_cases/test_fleet_provisioning.py --config-file test_cases/mqtt5_fleet_provisioning_cfg.json --thing-name-prefix Fleet_Thing_ - name: run Fleet Provisioning with CSR service client test for MQTT311 working-directory: ./aws-iot-device-sdk-cpp-v2/servicetests run: | - export PYTHONPATH=${{ github.workspace }}/utils + export PYTHONPATH=${{ github.workspace }}/aws-iot-device-sdk-cpp-v2/utils python3 ./test_cases/test_fleet_provisioning.py --config-file test_cases/mqtt3_fleet_provisioning_with_csr_cfg.json --thing-name-prefix Fleet_Thing_ - name: run Fleet Provisioning with CSR service client test for MQTT5 working-directory: ./aws-iot-device-sdk-cpp-v2/servicetests run: | - export PYTHONPATH=${{ github.workspace }}/utils + export PYTHONPATH=${{ github.workspace }}/aws-iot-device-sdk-cpp-v2/utils python3 ./test_cases/test_fleet_provisioning.py --config-file test_cases/mqtt5_fleet_provisioning_with_csr_cfg.json --thing-name-prefix Fleet_Thing_ - name: configure AWS credentials (Connect and PubSub) diff --git a/servicetests/tests/FleetProvisioning/main.cpp b/servicetests/tests/FleetProvisioning/main.cpp index 41d0347f2..77428bbde 100644 --- a/servicetests/tests/FleetProvisioning/main.cpp +++ b/servicetests/tests/FleetProvisioning/main.cpp @@ -216,6 +216,7 @@ void SubscribeToRegisterThing(String input_templateName, std::shared_ptr