File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -88,21 +88,6 @@ async def _read_total_hrs(self, dev_ctrl) -> int:
8888 async def _read_net_ifaces (self , dev_ctrl ):
8989 return await self .read_single_attribute_check_success (dev_ctrl , Clusters .GeneralDiagnostics .Attributes .NetworkInterfaces )
9090
91- async def _wait_for_commissionee (self , node_id = None , timeout_s = 120 ):
92- # If your harness has a specific helper, replace this.
93- # Here we do a small poll to State (read + sleep).
94- node_id = node_id if node_id is not None else self .req_node_id
95- end = self .event_loop .time () + timeout_s
96- while self .event_loop .time () < end :
97- try :
98- # Try to read something cheap to confirm it's back
99- # (UpTime, for example)
100- _ = await self ._read_uptime (self .default_controller )
101- return
102- except Exception :
103- await asyncio .sleep (1.0 )
104- raise TimeoutError (f"DUT { node_id } did not become accessible again in { timeout_s } s" )
105-
10691 def _validate_network_interfaces (self , interfaces ) -> None :
10792 """
10893 Basic verifications:
You can’t perform that action at this time.
0 commit comments