Skip to content

Commit 63dfa98

Browse files
Testing out everything as is up to test_launchUrl_fn with chip_casting_simplified=true flag.
1 parent 7e2c675 commit 63dfa98

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/examples-linux-tv-casting-app.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,13 @@ jobs:
6161
- name: Build Linux tv-casting-app
6262
run: |
6363
./scripts/run_in_build_env.sh \
64-
"scripts/examples/gn_build_example.sh examples/tv-casting-app/linux/ out/tv-casting-app"
64+
"scripts/examples/gn_build_example.sh examples/tv-casting-app/linux/ out/tv-casting-app chip_casting_simplified=true"
6565
6666
- name: Test casting from Linux tv-casting-app to Linux tv-app
6767
run: |
6868
./scripts/run_in_build_env.sh \
6969
"python3 ./scripts/tests/run_tv_casting_test.py"
70-
# timeout-minutes: 5
70+
timeout-minutes: 1
7171

7272
- name: Uploading Size Reports
7373
uses: ./.github/actions/upload-size-reports

scripts/tests/run_tv_casting_test.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@
3131
TV_APP_MAX_START_WAIT_SEC = 2
3232

3333
# The maximum amount of time to commission the Linux tv-casting-app and the tv-app before timeout.
34-
COMMISSIONING_STAGE_MAX_WAIT_SEC = 15
34+
COMMISSIONING_STAGE_MAX_WAIT_SEC = 10
3535

3636
# The maximum amount of time to test that the launchURL is sent from the Linux tv-casting-app and received on the tv-app before timeout.
3737
TEST_LAUNCHURL_MAX_WAIT_SEC = 10
3838

3939
# The maximum amount of time to verify the subscription state in the Linux tv-casting-app output before timeout.
40-
VERIFY_SUBSCRIPTION_STATE_MAX_WAIT_SEC = 60
40+
VERIFY_SUBSCRIPTION_STATE_MAX_WAIT_SEC = 10
4141

4242
# File names of logs for the Linux tv-casting-app and the Linux tv-app.
4343
LINUX_TV_APP_LOGS = 'Linux-tv-app-logs.txt'
@@ -535,7 +535,7 @@ def test_subscription_fn(tv_casting_app_info: Tuple[subprocess.Popen, TextIO], l
535535
def test_launchUrl_fn(tv_casting_app_info: Tuple[subprocess.Popen, TextIO], tv_app_info: Tuple[subprocess.Popen, TextIO], log_paths: List[str]):
536536
"""Test that the Linux tv-casting-app sent the launchUrl and that the Linux tv-app received the launchUrl."""
537537

538-
test_subscription_fn(tv_casting_app_info, log_paths) # SHAO added
538+
# test_subscription_fn(tv_casting_app_info, log_paths) # SHAO added
539539

540540
if not parse_tv_app_output_for_launchUrl_msg_success(tv_app_info, log_paths):
541541
handle_casting_failure('Testing launchUrl', log_paths)

0 commit comments

Comments
 (0)