Skip to content

Commit 2d8c21e

Browse files
ausphamvenu-nexthop
authored andcommitted
chore: disable default dynamic var snappi fallback (sonic-net#18793)
Description of PR Summary: Disable the default dynamic variable snappi fallback since T1-tgen testbed does not support this feature yet and currently generating alert. Disabling this now to suspress the alert. Fixes # (issue) 33123296 Type of change Bug fix Testbed and Framework(new/improvement) New Test case Skipped for non-supported platforms Test case improvement Back port request 202205 202305 202311 202405 202411 202505 Approach What is the motivation for this PR? Disable the default dynamic variable snappi fallback since T1-tgen testbed does not support this feature yet and currently generating alert. Disabling this now to suspress the alert. Signed-off-by: Austin Pham <[email protected]>
1 parent 95f5eb5 commit 2d8c21e

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

tests/conftest.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2054,11 +2054,13 @@ def parse_override(testbed, field):
20542054
with open(override_file, 'r') as f:
20552055
all_values = yaml.safe_load(f)
20562056
if testbed not in all_values or field not in all_values[testbed]:
2057-
return False, None
2057+
# When T1-tgen is available, we should do "return False, None"
2058+
return True, []
20582059

20592060
return True, all_values[testbed][field]
20602061

2061-
return False, None
2062+
# When T1-tgen is available, we should do "return False, None"
2063+
return True, []
20622064

20632065

20642066
def generate_skeleton_port_info(request):

0 commit comments

Comments
 (0)