Skip to content

Commit fb78325

Browse files
andy31415yyzhong-g
authored andcommitted
Disable flaky test for diagnostics logs in java. (project-chip#36735)
* Disable flaky test * Fix disabling logic * make disabling logic consistent in java
1 parent 5345cdc commit fb78325

File tree

1 file changed

+16
-12
lines changed

1 file changed

+16
-12
lines changed

.github/workflows/java-tests.yaml

+16-12
Original file line numberDiff line numberDiff line change
@@ -191,18 +191,19 @@ jobs:
191191
--tool-args "already-discovered --nodeid 1 --setup-pin-code 20202021 --address ::1 --port 5540 -t 1000" \
192192
--factoryreset \
193193
'
194-
# Disabled due to failure: https://github.com/project-chip/connectedhomeip/issues/27361
195-
# - name: Run Pairing Address-PaseOnly Test
196-
# run: |
197-
# scripts/run_in_python_env.sh out/venv \
198-
# './scripts/tests/run_java_test.py \
199-
# --app out/linux-x64-all-clusters-ipv6only-no-ble-no-wifi-tsan-clang-test/chip-all-clusters-app \
200-
# --app-args "--discriminator 3840 --interface-id -1" \
201-
# --tool-path out/linux-x64-java-matter-controller \
202-
# --tool-cluster "pairing" \
203-
# --tool-args "address-paseonly --nodeid 1 --setup-pin-code 20202021 --address ::1 --port 5540 -t 1000" \
204-
# --factoryreset \
205-
# '
194+
- name: Run Pairing Address-PaseOnly Test
195+
# Disabled due to failure: https://github.com/project-chip/connectedhomeip/issues/27361
196+
if: false
197+
run: |
198+
scripts/run_in_python_env.sh out/venv \
199+
'./scripts/tests/run_java_test.py \
200+
--app out/linux-x64-all-clusters-ipv6only-no-ble-no-wifi-tsan-clang-test/chip-all-clusters-app \
201+
--app-args "--discriminator 3840 --interface-id -1" \
202+
--tool-path out/linux-x64-java-matter-controller \
203+
--tool-cluster "pairing" \
204+
--tool-args "address-paseonly --nodeid 1 --setup-pin-code 20202021 --address ::1 --port 5540 -t 1000" \
205+
--factoryreset \
206+
'
206207
- name: Run Pairing SetupQRCode Test
207208
run: |
208209
scripts/run_in_python_env.sh out/venv \
@@ -237,6 +238,9 @@ jobs:
237238
--factoryreset \
238239
'
239240
- name: Run Pairing Onnetwork and get diagnostic log Test
241+
# TODO: test below is disabled because it seems flaky (crashes on pool not being empty on app exit)
242+
# See: https://github.com/project-chip/connectedhomeip/issues/36734
243+
if: false
240244
run: |
241245
scripts/run_in_python_env.sh out/venv \
242246
'./scripts/tests/run_java_test.py \

0 commit comments

Comments
 (0)