Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix portstat case #21

Closed
wants to merge 1 commit into from
Closed

Fix portstat case #21

wants to merge 1 commit into from

Conversation

JibinBao
Copy link
Owner

@JibinBao JibinBao commented Aug 10, 2022

There is a bug fix for "portstat -c -t filename" which changes the path of portstat status file, so we need to update the relevant portstat test:
sonic-net/sonic-utilities#2232
sonic-net/sonic-buildimage#11244

  1. Orignal design: After running “portstat -c -t filename”, status file will be created on the folder of /tmp/portstat-{uid}/{uid}-{filename}
  2. New design: After running “portstat -c -t filename”, status file will be created on the folder of /tmp/cache/portstat/{uid}-{filename}

Change-Id: Ia122a08b9a55a26fe6a299d74d2df1f1949c7ca3

Description of PR

Summary:
Fixes # (issue)

Type of change

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

Back port request

  • 201911
  • 202012

Approach

What is the motivation for this PR?

Fix test issue, because there is a relevant bug fix for the product.

How did you do it?

Change the test as the new desgin.

  1. Orignal design: After running “portstat -c -t filename”, status file will be created on the folder of /tmp/portstat-{uid}/{uid}-{filename}
  2. New design: After running “portstat -c -t filename”, status file will be created on the folder of /tmp/cache/portstat/{uid}-{filename}

How did you verify/test it?

Run the tests on the image with bug fix

Any platform specific information?

Any

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

Any

Documentation

Becuase desigin change for "portstat -c -t filename", so change portstat test
1. Orignal design: After running “portstat -c -t  filename”, status file will be created on the folder of /tmp/portstat-{uid}/{uid}-{filename}
2. New design: After running “portstat -c -t  filename”, status file will be created on the folder of /tmp/cache/portstat/{uid}-{filename}

Change-Id: Ia122a08b9a55a26fe6a299d74d2df1f1949c7ca3
@JibinBao
Copy link
Owner Author

clsoe

@JibinBao JibinBao closed this Aug 11, 2022
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.

2 participants