Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add ptfhost check statement to prevent failure on test_posttest.py (s…
…onic-net#14783) PTFHost can be None in some cases (eg. ixia) and this was not handled correctly in test_collect_ptf_logs. Add ptfhost check to prevent error caused by None value. PTFHost can be None in some cases (eg. ixia) and this was not handled correctly in test_collect_ptf_logs. Add ptfhost check to prevent error caused by None value. Description of PR Summary: PTFHost can be None in some cases (eg. ixia) and this was not handled correctly in test_collect_ptf_logs. Add ptfhost check to prevent error caused by None value. Approach What is the motivation for this PR? Resolve unexpected error during log collection How did you do it? check for None value co-authorized by: jianquanye@microsoft.com
- Loading branch information