From 5880942abec3c6d0bb899dcd66c44afd6235cc42 Mon Sep 17 00:00:00 2001 From: chalmer lowe Date: Wed, 7 Feb 2024 14:16:28 +0000 Subject: [PATCH 1/2] adds comment --- owlbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/owlbot.py b/owlbot.py index 32655856..734bdfa8 100644 --- a/owlbot.py +++ b/owlbot.py @@ -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, From e29464a653ad000733622b404569c77e322a9573 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Wed, 7 Feb 2024 15:41:37 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- noxfile.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/noxfile.py b/noxfile.py index fc0ed6c5..f1ce03c7 100644 --- a/noxfile.py +++ b/noxfile.py @@ -373,6 +373,7 @@ def compliance(session): session.install( "mock", "pytest", + "pytest-xdist", "pytest-rerunfailures", "google-cloud-testutils", "-c", @@ -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