From b2aedc0d8541ab9aabbeb8c63d49ea669b3aeff8 Mon Sep 17 00:00:00 2001 From: Felipe Mira Date: Thu, 2 Jan 2025 23:54:04 +0000 Subject: [PATCH] additional changes to odt gateway code --- .github/actions/on_device_tests/action.yaml | 2 +- tools/on_device_tests_gateway_client.py | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/actions/on_device_tests/action.yaml b/.github/actions/on_device_tests/action.yaml index 9040a36d95ad7..1e61b0892b405 100644 --- a/.github/actions/on_device_tests/action.yaml +++ b/.github/actions/on_device_tests/action.yaml @@ -28,7 +28,7 @@ runs: shell: bash - name: Run Tests on ${{ matrix.platform }} Platform env: - GCS_PATH: gs://${{ env.PROJECT_NAME }}-test-artifacts/${{ github.workflow }}/${{ github.run_number }}/${{ matrix.platform }}_${{ matrix.config }} + GCS_PATH: /bigstore/${{ env.PROJECT_NAME }}-test-artifacts/${{ github.workflow }}/${{ github.run_number }}/${{ matrix.platform }}_${{ matrix.config }} run: | set -uxe python3 -u tools/on_device_tests_gateway_client.py \ diff --git a/tools/on_device_tests_gateway_client.py b/tools/on_device_tests_gateway_client.py index 2ff477bd00875..55937fd4b39ca 100644 --- a/tools/on_device_tests_gateway_client.py +++ b/tools/on_device_tests_gateway_client.py @@ -28,10 +28,10 @@ _WORK_DIR = '/on_device_tests_gateway' -# Comment out thw next three lines for local testing -_ON_DEVICE_TESTS_GATEWAY_SERVICE_HOST = ( - 'on-device-tests-gateway-service.on-device-tests.svc.cluster.local') -_ON_DEVICE_TESTS_GATEWAY_SERVICE_PORT = '50052' +# Comment out the next three lines for local testing +#_ON_DEVICE_TESTS_GATEWAY_SERVICE_HOST = ( +# 'on-device-tests-gateway-service.on-device-tests.svc.cluster.local') +#_ON_DEVICE_TESTS_GATEWAY_SERVICE_PORT = '50052' # Uncomment the next two lines for local testing _ON_DEVICE_TESTS_GATEWAY_SERVICE_HOST = ('localhost') @@ -153,11 +153,11 @@ def _process_apk_tests(args): print(" This gtest_target does not have gtest_filters specified"); else: failing_tests_list = gtest_filter_json_file_data["failing_tests"] - passing_tests_list = gtest_filter_json_file_data["passing_tests"] + #passing_tests_list = gtest_filter_json_file_data["passing_tests"] failing_tests_string = ":".join(failing_tests_list) - passing_tests_string = ":".join(passing_tests_list) - if passing_tests_string: - gtest_filters += ":" + passing_tests_string + #passing_tests_string = ":".join(passing_tests_list) + #if passing_tests_string: + # gtest_filters += ":" + passing_tests_string if failing_tests_string: gtest_filters += ":-" + failing_tests_string print(f" gtest_filters = {gtest_filters}");