Skip to content

Commit

Permalink
Address review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
yufengwangca committed Dec 19, 2024
1 parent 1635ecc commit 68d38b2
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 3 deletions.
2 changes: 2 additions & 0 deletions scripts/tests/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ def _do_build_apps():
f"{target_prefix}-fabric-admin-no-ble-no-wifi-rpc-ipv6only-clang-boringssl",
f"{target_prefix}-fabric-bridge-no-ble-no-wifi-rpc-ipv6only-clang-boringssl",
f"{target_prefix}-fabric-sync-no-ble-no-wifi-ipv6only-clang-boringssl",
f"{target_prefix}-light-ipv6only-no-ble-no-wifi-clang",
f"{target_prefix}-light-data-model-no-unique-id-ipv6only-no-ble-no-wifi-clang",
f"{target_prefix}-lit-icd-no-ble-clang-boringssl",
f"{target_prefix}-lock-no-ble-clang-boringssl",
Expand Down Expand Up @@ -386,6 +387,7 @@ def as_runner(path):
as_runner(f'out/{target_prefix}-fabric-bridge-no-ble-no-wifi-rpc-ipv6only-clang-boringssl/fabric-bridge-app')}
FABRIC_SYNC_APP: {
as_runner(f'out/{target_prefix}-fabric-sync-no-ble-no-wifi-ipv6only-clang-boringssl/fabric-sync')}
LIGHTING_APP: {as_runner(f'out/{target_prefix}-light-ipv6only-no-ble-no-wifi-clang/chip-lighting-app')}
LIGHTING_APP_NO_UNIQUE_ID: {as_runner(f'out/{target_prefix}-light-data-model-no-unique-id-ipv6only-no-ble-no-wifi-clang/chip-lighting-app')}
TRACE_APP: out/trace_data/app-{{SCRIPT_BASE_NAME}}
TRACE_TEST_JSON: out/trace_data/test-{{SCRIPT_BASE_NAME}}
Expand Down
7 changes: 4 additions & 3 deletions src/python_testing/TC_DGSW_2_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# === BEGIN CI TEST ARGUMENTS ===
# test-runner-runs:
# run1:
# app: ${ALL_CLUSTERS_APP}
# app: ${LIGHTING_APP}
# app-args: --discriminator 1234 --KVS kvs1 --trace-to json:${TRACE_APP}.json
# script-args: >
# --storage-path admin_storage.json
Expand All @@ -35,9 +35,10 @@
# === END CI TEST ARGUMENTS ===
#

import asyncio
import logging
import subprocess
from time import sleep
import time

import chip.clusters as Clusters
import psutil
Expand Down Expand Up @@ -123,7 +124,7 @@ async def test_TC_DGSW_2_2(self):
await self.send_software_fault_event(endpoint, app_pid)

# Allow some time for the event to be processed
sleep(1)
await asyncio.sleep(1)

# Read the SoftwareFault events
software_fault_events = await self.read_software_fault_events(endpoint)
Expand Down
33 changes: 33 additions & 0 deletions src/python_testing/admin_storage.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"sdk-config": {
"g/lkgt": "FSYAgKi8LBg=",
"g/gcc": "Jq3JDw==",
"g/gdc": "T80OBQ==",
"ExampleOpCredsCAKey1": "BAtZTLiDVAGxUd9i/pxI2sYNuxJmW4C+PvCdT8Xd6MK8CCRM8J1zRoES9K6CUv4kP9YqCiri2iOvs/JE2RFqyAlAOQdacEhxio+6jxd3tOtTHfNjsbwBftSyTtaoB330aQ==",
"ExampleOpCredsICAKey1": "BErbOfro2/rii7Nj4hn9MBvZHRuccB7qTkvIIF91U2qduOAWFwN2oH6aOCOkcRQ00mtpcdXJ1tAJrQUA0jkGIZ9dOKIZgGKhq73oejEvsss0VkCp9NwGNMor1c6R9cL1/w==",
"ExampleCARootCert1": "MIICQDCCAeagAwIBAgIBATAKBggqhkjOPQQDAjAiMSAwHgYKKwYBBAGConwBBAwQMDAwMDAwMDAwMDAwMDAwMTAeFw0yMTAxMDEwMDAwMDBaFw0zMDEyMzAwMDAwMDBaMCIxIDAeBgorBgEEAYKifAEEDBAwMDAwMDAwMDAwMDAwMDAxMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEC1lMuINUAbFR32L+nEjaxg27EmZbgL4+8J1Pxd3owrwIJEzwnXNGgRL0roJS/iQ/1ioKKuLaI6+z8kTZEWrICaOCAQswggEHMA8G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8RzqUwUs8ZIU7Nii0wQG5IYyPzCeU25VBlLtcGu838tgqftvkGGA==",
"f/1/r": "FTABAQEkAgE3AyQUARgmBIAigScmBYAlTTo3BiQUARgkBwEkCAEwCUEEC1lMuINUAbFR32L+nEjaxg27EmZbgL4+8J1Pxd3owrwIJEzwnXNGgRL0roJS/iQ/1ioKKuLaI6+z8kTZEWrICTcKNQEpARgkAmAwBBTrObB9oFaDjT2QxkAhug2li99hBjAFFOs5sH2gVoONPZDGQCG6DaWL32EGMAamMIGjBgNVHREEgZsEgZhBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQRgwC0CB4HG2klqlJX0adYvqCdaZAiqY9x5q30lokU/7NGY4fQbVJ19UmjCohEo7mFrcKjW4+rTP8/FGpVCPlbZWRRZHGA==",
"g/fidx": "FSQAAjYBBAEYGA==",
"f/1/k/0": "FSQBACQCATYDFSQEACUFB3QwBhCwMPlHyUEJHZ5nkMhuIILRGBUkBAAkBQAwBhAAAAAAAAAAAAAAAAAAAAAAGBUkBAAkBQAwBhAAAAAAAAAAAAAAAAAAAAAAGBglB///GA==",
"g/gfl": "FSQBASQCARg=",
"f/1/g": "FSQBACQCACQDACQEACQFACQGASQHABg=",
"g/icdfl": "FgQBGA==",
"g/sri": "FhUkAQEmAiFDNBIYGA==",
"f/1/s/0000000012344321": "FTADEKo3KZC6nBNiPBpvP3AoxH8wBCDpKa+VwgRnTF+EHeIu9W4GLMVrtxPnWgW18NQdW/JJkzAFDAAAAAAAAAAAAAAAABg=",
"g/s/qjcpkLqcE2I8Gm8/cCjEfw==": "FSQBASYCIUM0Ehg="
},
"repl-config": {
"caList": {
"1": [
{
"fabricId": 1,
"vendorId": 65521
}
]
}
}
}

0 comments on commit 68d38b2

Please sign in to comment.