Closed ganglyu closed 1 day ago
The pre-commit check detected issues in the files touched by this pull request. The pre-commit check is a mandatory check, please fix detected issues.
Detailed pre-commit check results:
trim trailing whitespace.................................................PassedTo run the pre-commit checks locally, you can follow below steps:
pre-commit
package is installed:
sudo pip install pre-commit
pre-commit install
pre-commit
pre-commit run --from-ref <commit_id> --to-ref <commit_id>
Description of PR
Summary: Fixes https://github.com/sonic-net/sonic-mgmt/issues/8242
Type of change
Back port request
Approach
What is the motivation for this PR?
If /etc/resolv.conf is broken in docker container, some critical service may fail to start.
How did you do it?
Update test case to cover the validation of /etc/resolv.conf in each docker container.
How did you verify/test it?
Run DNS end to end test
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation