Add --show-capture no argument in run_tests.sh#1935
Merged
wangxin merged 1 commit intosonic-net:masterfrom Jul 22, 2020
wangxin:no-show-capture
Merged
Add --show-capture no argument in run_tests.sh#1935wangxin merged 1 commit intosonic-net:masterfrom wangxin:no-show-capture
--show-capture no argument in run_tests.sh#1935wangxin merged 1 commit intosonic-net:masterfrom
wangxin:no-show-capture
Conversation
The run_tests.sh is able to store all the testing logs in log files. It's unnecessary to show captured logs in cli log. Otherwise, the cli log is also huge. This commit add the `--show-capture no` argument to the PYTEST_COMMON_OPTS in `run_tests.sh` to disable that. Signed-off-by: Xin Wang <xiwang5@microsoft.com>
yxieca
approved these changes
Jul 20, 2020
bingwang-ms
approved these changes
Jul 21, 2020
Collaborator
Author
|
retest this please |
kazinator-arista
pushed a commit
to kazinator-arista/sonic-mgmt
that referenced
this pull request
Mar 4, 2026
Commits: f147d9e - 2021-10-27 : [Mux orch] Handle setting unknown mux state (sonic-net#1984) [Prince Sunny] 4618b2b - 2021-10-28 : Change tunnel orch order (sonic-net#1990) [Prince Sunny] 505d52d - 2021-10-20 : Fix the option missing in kernel config issue (sonic-net#1973) [xumia] 7bf4dfb - 2021-10-18 : SAI_REDIS_SWITCH_ATTR_CONTEXT shouldbe the last attribute. This is what sairedis library expects (sonic-net#1935) [judyjoseph] c58919e - 2021-10-08 : [logfile][202012]: Add option to specify swss rec file name (sonic-net#1946) [judyjoseph]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of PR
Summary:
Fixes # (issue)
The run_tests.sh is able to store all the testing logs in
log files. It's unnecessary to show captured logs in
cli log. Otherwise, the cli log is also huge.
This commit add the
--show-capture noargumentto the PYTEST_COMMON_OPTS in
run_tests.shtodisable that.
Type of change
Approach
What is the motivation for this PR?
To limit the log size of pytest cli console log.
How did you do it?
Add
--show-capture noargument to PYTEST_COMMON_OPTS inrun_tests.sh.How did you verify/test it?
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation