Skip to content

test: adds comment regarding testing options #1027

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

Open
wants to merge 2 commits into
base: development-build-v1.11.0.dev2
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,7 @@ def compliance(session):
session.install(
"mock",
"pytest",
"pytest-xdist",
"pytest-rerunfailures",
"google-cloud-testutils",
"-c",
Expand All @@ -392,13 +393,16 @@ def compliance(session):
"py.test",
"-vv",
f"--junitxml=compliance_{session.python}_sponge_log.xml",
"--reruns=3",
"--reruns-delay=60",
"--reruns=1",
"--reruns-delay=5",
"--only-rerun=Exceeded rate limits",
"--only-rerun=Already Exists",
"--only-rerun=Not found",
"--only-rerun=Cannot execute DML over a non-existent table",
"--only-rerun=Job exceeded rate limits",
"--durations=50", # shows duration of slowest 50 tests
"--dist=loadscope",
"--numprocesses=auto",
system_test_folder_path,
*session.posargs,
# To suppress the "Deprecated API features detected!" warning when
Expand Down
2 changes: 1 addition & 1 deletion owlbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def compliance(session):
"--only-rerun=Not found",
"--only-rerun=Cannot execute DML over a non-existent table",
"--only-rerun=Job exceeded rate limits",
"--durations=50",
"--durations=50", # shows duration of slowest 50 tests
"--dist=loadscope",
"--numprocesses=auto",
system_test_folder_path,
Expand Down