File tree 2 files changed +9
-7
lines changed
2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -2171,8 +2171,9 @@ def run_if_endpoint_matches(accept_function: EndpointCheckFunction):
2171
2171
"""
2172
2172
def run_if_endpoint_matches_internal (body ):
2173
2173
def per_endpoint_runner (self : MatterBaseTest , * args , ** kwargs ):
2174
- asserts .assert_false (self .get_test_pics (self .current_test_info .name ),
2175
- "pics_ method supplied for run_if_endpoint_matches." )
2174
+ # Disabling this for now so the TH does not need to spend the time to run these tests. We can PICS-gate these and re-evaluate in 1.5
2175
+ # asserts.assert_false(self.get_test_pics(self.current_test_info.name),
2176
+ # "pics_ method supplied for run_if_endpoint_matches.")
2176
2177
runner_with_timeout = asyncio .wait_for (should_run_test_on_endpoint (self , accept_function ), timeout = 60 )
2177
2178
should_run_test = asyncio .run (runner_with_timeout )
2178
2179
if not should_run_test :
Original file line number Diff line number Diff line change @@ -253,11 +253,12 @@ def main():
253
253
if not ok :
254
254
failures .append ("Test case failure: test_endpoints" )
255
255
256
- test_name = 'test_endpoint_with_pics'
257
- test_runner .set_test ('TestDecorators.py' , 'TestDecorators' , test_name )
258
- ok = test_runner .run_test_with_mock_read (read_resp , hooks )
259
- if ok :
260
- failures .append (f"Did not get expected test assertion on { test_name } " )
256
+ # Disabling this for now - in 1.4 we will allow self-selecting tests that are also gated by PICS
257
+ # test_name = 'test_endpoint_with_pics'
258
+ # test_runner.set_test('TestDecorators.py', 'TestDecorators', test_name)
259
+ # ok = test_runner.run_test_with_mock_read(read_resp, hooks)
260
+ # if ok:
261
+ # failures.append(f"Did not get expected test assertion on {test_name}")
261
262
262
263
# Test should run once for the whole node, regardless of the number of endpoints
263
264
def run_check (test_name : str , read_response : Attribute .AsyncReadTransaction .ReadResponse , expect_skip : bool ) -> None :
You can’t perform that action at this time.
0 commit comments