Commit 46ddb1c 1 parent c4a339f commit 46ddb1c Copy full SHA for 46ddb1c
File tree 2 files changed +3
-4
lines changed
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -263,12 +263,10 @@ def test_run_tests(self):
263
263
for test in self .tests :
264
264
test = test .strip ()
265
265
if test in self .ExceptionTests :
266
- ret = ret + self .runExceptionTest (test );
266
+ ret = ret + self .runExceptionTest (test )
267
267
elif test in self .SpecialTests :
268
- ret = ret + self .runSpecialTest (test );
268
+ ret = ret + self .runSpecialTest (test )
269
269
else :
270
- #log.error("Unexpected Test: {}".format(test))
271
- #ret = ret + 1
272
270
raise Exception ("Unexpected Test" )
273
271
except Exception as e :
274
272
ret = FAIL * len (self .tests )
Original file line number Diff line number Diff line change @@ -151,6 +151,7 @@ module sonic-spanning-tree {
151
151
}
152
152
units "seconds" ;
153
153
default 30 ;
154
+ when "../mode = 'pvst'" ; // Only apply the default when mode is pvst
154
155
must "../mode != 'mst'" {
155
156
error-message "Root guard timeout is not allowed in MST mode." ;
156
157
error-app-tag stp-invalid;
You can’t perform that action at this time.
0 commit comments