Skip to content

Commit

Permalink
additional changes to odt gateway code
Browse files Browse the repository at this point in the history
  • Loading branch information
Libzu committed Jan 2, 2025
1 parent c25c309 commit b2aedc0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/actions/on_device_tests/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
16 changes: 8 additions & 8 deletions tools/on_device_tests_gateway_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down Expand Up @@ -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}");
Expand Down

0 comments on commit b2aedc0

Please sign in to comment.