Skip to content

Add a suffix to the testcase logfile #14885

Merged
kevinskwang merged 1 commit intosonic-net:202405from
sreejithsreekumaran:logfile_suffix
Oct 22, 2024
Merged

Add a suffix to the testcase logfile #14885
kevinskwang merged 1 commit intosonic-net:202405from
sreejithsreekumaran:logfile_suffix

Conversation

@sreejithsreekumaran
Copy link
Copy Markdown
Contributor

@sreejithsreekumaran sreejithsreekumaran commented Oct 8, 2024

Description of PR

Summary:
Fixes # (issue)

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Back port request

  • 202012
  • 202205
  • 202305
  • 202311
  • 202405

Approach

What is the motivation for this PR?

Add support to provide a suffix to the test case log file name.
this will be useful in test cases where there are multiple runs with different combinations
being invoked and each run can be logged as a separate log file for easier tracking.

How did you do it?

Added log_suffix as a dict key to testParams

How did you verify/test it?

Ran it as part of FullMeshTrafficSanitytestcase #11968

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

@wsycqyz
Copy link
Copy Markdown
Contributor

wsycqyz commented Oct 9, 2024

Why does this not go to master branch?

@sreejithsreekumaran
Copy link
Copy Markdown
Contributor Author

Why does this not go to master branch?

@wsycqyz this PR has been spun out of #14803 as requested by @kevinskwang. This change is already present in master

@sreejithsreekumaran
Copy link
Copy Markdown
Contributor Author

@kevinskwang please check

@kevinskwang kevinskwang merged commit f85c261 into sonic-net:202405 Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants