Skip to content

Commit b0f2c51

Browse files
committed
Updated: Cleanup to run by CI test argument SU_OTA_REQUESTOR_V2.
1 parent e7dd7c1 commit b0f2c51

File tree

1 file changed

+17
-12
lines changed

1 file changed

+17
-12
lines changed

src/python_testing/TC_SU_2_2.py

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -446,18 +446,23 @@ async def test_TC_SU_2_2(self):
446446
# --nodeId 2
447447
# ------------------------------------------------------------------------------------
448448

449-
if self.is_pics_sdk_ci_only:
450-
logger.info("Using SDK_CI_ONLY parameters for Provider app path and OTA image")
451-
self.LOG_FILE_PATH = "provider.log"
452-
self.KVS_PATH = "/tmp/chip_kvs_provider"
453-
self.provider_app_path = self.user_params.get('provider_app_path', None) # "./out/debug/chip-ota-provider-app"
454-
self.ota_image_v2 = self.user_params.get('ota_image')
455-
else:
456-
logger.info("Using default parameters for Provider app path and OTA image")
457-
self.LOG_FILE_PATH = "provider.log"
458-
self.KVS_PATH = "/tmp/chip_kvs_provider"
459-
self.provider_app_path = "./out/debug/chip-ota-provider-app"
460-
self.ota_image_v2 = "firmware_requestor_v2min.ota"
449+
self.LOG_FILE_PATH = "provider.log"
450+
self.KVS_PATH = "/tmp/chip_kvs_provider"
451+
self.provider_app_path = self.user_params.get('provider_app_path', None)
452+
self.ota_image_v2 = self.user_params.get('ota_image')
453+
454+
# if self.is_pics_sdk_ci_only:
455+
# logger.info("Using SDK_CI_ONLY parameters for Provider app path and OTA image")
456+
# self.LOG_FILE_PATH = "provider.log"
457+
# self.KVS_PATH = "/tmp/chip_kvs_provider"
458+
# self.provider_app_path = self.user_params.get('provider_app_path', None) # "./out/debug/chip-ota-provider-app"
459+
# self.ota_image_v2 = self.user_params.get('ota_image')
460+
# else:
461+
# logger.info("Using default parameters for Provider app path and OTA image")
462+
# self.LOG_FILE_PATH = "provider.log"
463+
# self.KVS_PATH = "/tmp/chip_kvs_provider"
464+
# self.provider_app_path = "./out/debug/chip-ota-provider-app"
465+
# self.ota_image_v2 = "firmware_requestor_v2min.ota"
461466

462467
self.step(0)
463468
# Controller has already commissioned the requestor

0 commit comments

Comments
 (0)