Set the default for the `--repeat` flag to 30 instead of 100
Bug: b/466046193
Change-Id: If1f7ad8d619ffae8ecf3cecc990888a37b943b6b
Reviewed-on: https://chromium-review.googlesource.com/c/crossbench/+/7228503
Commit-Queue: Maxim Sheshukov <maximsheshukov@google.com>
Reviewed-by: Patrick Thier <pthier@chromium.org>
diff --git a/crossbench/pinpoint/config.py b/crossbench/pinpoint/config.py
index fa46ff6..ce90e82 100644
--- a/crossbench/pinpoint/config.py
+++ b/crossbench/pinpoint/config.py
@@ -129,7 +129,7 @@
story_tags: str | None = None
base: VariantConfig = dataclasses.field(default_factory=VariantConfig)
experiment: VariantConfig = dataclasses.field(default_factory=VariantConfig)
- repeat: int = 100
+ repeat: int = 30
bug: int | None = None
@classmethod
@@ -169,7 +169,7 @@
parser.add_argument(
"repeat",
type=NumberParser.positive_int,
- default=100,
+ default=30,
help="The number of times to repeat the experiment.")
parser.add_argument(
"bug",
diff --git a/tests/crossbench/pinpoint/test_config.py b/tests/crossbench/pinpoint/test_config.py
index 4fca85f..7b1c1b1 100644
--- a/tests/crossbench/pinpoint/test_config.py
+++ b/tests/crossbench/pinpoint/test_config.py
@@ -358,7 +358,7 @@
"configuration": "test_bot",
"story": "test_story",
"story_tags": None,
- "initial_attempt_count": 100,
+ "initial_attempt_count": 30,
"bug_id": None,
"base_git_hash": "HEAD",
"end_git_hash": "HEAD",