We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48619d7 commit 5336397Copy full SHA for 5336397
netsim/cli/validate.py
@@ -246,7 +246,10 @@ def extend_device_wait_time(v_entry: Box, topology: Box) -> None:
246
log.warning(
247
text=f'{d_path} is not a dictionary, ignoring')
248
continue
249
- if 'wait' in v_params and v_params.wait > v_entry.get('wait',0):
+ v_wait = v_entry.get('wait',0) # Get the test wait time
250
+ if not isinstance(v_wait,int): # Always override symbolic wait times with device-specific times
251
+ v_wait = 0
252
+ if 'wait' in v_params and v_params.wait > v_wait:
253
if log.VERBOSE:
254
print(f'Extending wait time for test {v_entry.name} to {v_params.wait} (device {ndata.device})')
255
v_entry.wait = v_params.wait
0 commit comments