Skip to content

Commit

Permalink
Reverted changes to self.is_ci check:
Browse files Browse the repository at this point in the history
- Reverted the changes done to the self.is_ci if check block that was made as it was not passing through CI/CD tests.
  • Loading branch information
j-ororke committed Jul 4, 2024
1 parent f871894 commit a9b96f7
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 17 deletions.
10 changes: 6 additions & 4 deletions src/python_testing/TC_RVCCLEANM_2_1.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,12 @@ async def test_TC_RVCCLEANM_2_1(self):
self.endpoint = self.matter_test_config.endpoint
self.mode_ok = self.matter_test_config.global_test_params['PIXIT.RVCCLEANM.MODE_CHANGE_OK']
self.mode_fail = self.matter_test_config.global_test_params['PIXIT.RVCCLEANM.MODE_CHANGE_FAIL']
app_pid = self.matter_test_config.app_pid
if app_pid != 0:
self.is_ci = True
self.app_pipe = self.app_pipe + str(app_pid)
self.is_ci = self.check_pics("PICS_SDK_CI_ONLY")
if self.is_ci:
app_pid = self.matter_test_config.app_pid
if app_pid != 0:
self.is_ci = True
self.app_pipe = self.app_pipe + str(app_pid)

RVCClean_cluster = Clusters.RvcCleanMode

Expand Down
10 changes: 6 additions & 4 deletions src/python_testing/TC_RVCCLEANM_2_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,12 @@ def write_to_app_pipe(self, command):
@async_test_body
async def test_TC_RVCCLEANM_2_2(self):
self.endpoint = self.matter_test_config.endpoint
app_pid = self.matter_test_config.app_pid
if app_pid != 0:
self.is_ci = True
self.app_pipe = self.app_pipe + str(app_pid)
self.is_ci = self.check_pics("PICS_SDK_CI_ONLY")
if self.is_ci:
app_pid = self.matter_test_config.app_pid
if app_pid != 0:
self.is_ci = True
self.app_pipe = self.app_pipe + str(app_pid)

# replaces the RVCRUNM attributes from PICS file
RVCRun_cluster = Clusters.RvcRunMode
Expand Down
6 changes: 6 additions & 0 deletions src/python_testing/TC_RVCRUNM_2_1.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,12 @@ async def test_TC_RVCRUNM_2_1(self):
self.endpoint = self.matter_test_config.endpoint
self.mode_ok = self.matter_test_config.global_test_params['PIXIT.RVCRUNM.MODE_CHANGE_OK']
self.mode_fail = self.matter_test_config.global_test_params['PIXIT.RVCRUNM.MODE_CHANGE_FAIL']
self.is_ci = self.check_pics("PICS_SDK_CI_ONLY")
if self.is_ci:
app_pid = self.matter_test_config.app_pid
if app_pid != 0:
self.is_ci = True
self.app_pipe = self.app_pipe + str(app_pid)

RVCRun_cluster = Clusters.RvcRunMode

Expand Down
15 changes: 6 additions & 9 deletions src/python_testing/TC_RVCRUNM_2_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,15 +120,12 @@ async def test_TC_RVCRUNM_2_2(self):
self.endpoint = self.matter_test_config.endpoint
self.mode_a = self.matter_test_config.global_test_params['PIXIT.RVCRUNM.MODE_A']
self.mode_b = self.matter_test_config.global_test_params['PIXIT.RVCRUNM.MODE_B']
app_pid = self.matter_test_config.app_pid
if app_pid != 0:
self.is_ci = True
self.app_pipe = self.app_pipe + str(app_pid)

app_pid = self.matter_test_config.app_pid
if app_pid != 0:
self.is_ci = True
self.app_pipe = self.app_pipe + str(app_pid)
self.is_ci = self.check_pics("PICS_SDK_CI_ONLY")
if self.is_ci:
app_pid = self.matter_test_config.app_pid
if app_pid != 0:
self.is_ci = True
self.app_pipe = self.app_pipe + str(app_pid)

RVCRun_cluster = Clusters.RvcRunMode

Expand Down

0 comments on commit a9b96f7

Please sign in to comment.