diff --git a/.github/workflows/run-integrationTests-python.yaml b/.github/workflows/run-integrationTests-python.yaml index 6c3c131..644dbe3 100644 --- a/.github/workflows/run-integrationTests-python.yaml +++ b/.github/workflows/run-integrationTests-python.yaml @@ -106,11 +106,6 @@ jobs: echo "Running: docker exec ${DEV_CONTAINER_NAME} bash -c \"/spacefx-dev/debugShim-deploy.sh --debug_shim ${{ inputs.app_name }} --python_file /workspace/${{ inputs.app_name }}/test/integrationTests_python/integrationTest.py --disable_plugin_configs --port 5678\"" docker exec ${DEV_CONTAINER_NAME} bash -c "/spacefx-dev/debugShim-deploy.sh --debug_shim ${{ inputs.app_name }} --python_file /workspace/${{ inputs.app_name }}/test/integrationTests_python/integrationTest.py --disable_plugin_configs --port 5678" & - - - name: Run Integration Tests - shell: bash - run: | - echo "Executing integration tests..." echo "k3s kubectl exec -n payload-app deploy/${{ inputs.app_name }} -- bash -c \"python3 /workspace/${{ inputs.app_name }}/test/integrationTests_python/integrationTest.py\" &" ( # Reroute the stdout to a file so we can uniquely identify this run diff --git a/test/integrationTests/appsettings.json b/test/integrationTests/appsettings.json index 104c90e..5589352 100644 --- a/test/integrationTests/appsettings.json +++ b/test/integrationTests/appsettings.json @@ -5,9 +5,9 @@ "Microsoft.AspNetCore": "Warning", "System.Net.Http": "Error", "Microsoft.Azure.SpaceFx": "Information", - "Microsoft.Azure.SpaceFx.Core.Services.MessageReceiver": "Information", - "Microsoft.Azure.SpaceFx.Core.Services.HeartbeatService": "Information", - "Microsoft.Azure.SpaceFx.Core.Services.ResourceUtilizationMonitor": "Information" + "Microsoft.Azure.SpaceFx.Core.Services.MessageReceiver": "Debug", + "Microsoft.Azure.SpaceFx.Core.Services.HeartbeatService": "Debug", + "Microsoft.Azure.SpaceFx.Core.Services.ResourceUtilizationMonitor": "Trace" }, "Console": { "TimestampFormat": "[yyyy-MM-dd HH:mm:ss] " diff --git a/test/integrationTests_python/integrationTest.py b/test/integrationTests_python/integrationTest.py index 46b99b0..2ae7df9 100644 --- a/test/integrationTests_python/integrationTest.py +++ b/test/integrationTests_python/integrationTest.py @@ -98,12 +98,14 @@ def position_service(): def main(): - logger.info("[BEGIN] Integration Tests") - logger.info("---------------------------") + print("Building SpaceFX Client") spacefx.client.build() + logger.info("[BEGIN] Integration Tests") + logger.info("---------------------------") + appid = spacefx.client.get_app_id() logger.info(f"AppID: {appid}")