1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-11 07:29:40 +00:00

gcloud: Wed Aug 3 09:18:38 UTC 2022

This commit is contained in:
Automated 2022-08-03 09:18:38 +00:00
parent 3513fd1c11
commit 3b2f526372
Failed to extract signature
151 changed files with 4150 additions and 308 deletions

View file

@ -363,21 +363,25 @@ FLAGS
is no guarantee that test cases will be distributed with perfect
uniformity.
The number of shards should be less than the total number of test
cases. When one or more physical devices are selected, the number of
shards specified must be >= 1 and <= 50. When no physical devices are
selected, the number of shards specified must be >= 1 and <= 500.
The number of shards specified must always be a positive number that
is no greater than the total number of test cases. When you select
one or more physical devices, the number of shards specified must be
<= 50. When you select one or more ARM virtual devices, the number of
shards specified must be <= 100. When you select only x86 virtual
devices, the number of shards specified must be <= 500.
--test-targets-for-shard=TEST_TARGETS_FOR_SHARD
Specifies a group of packages, classes, and/or test cases to run in
each shard (a group of test cases). The shards are run in parallel on
separate devices. You can repeat this flag up to 50 times to specify
multiple shards when one or more physical devices are selected, or up
to 500 times when no physical devices are selected.
each shard (a group of test cases). Each time this flag is repeated,
it creates a new shard. The shards are run in parallel on separate
devices. You can repeat this flag up to 50 times when you select one
or more physical devices, up to 100 times when you select one or more
ARM virtual devices, and up to 500 times when you select only x86
virtual devices.
Note: If you include the flags --environment-variable or
--test-targets when running --test-targets-for-shard, the flags are
applied to all the shards you create.
--test-targets when running --test-targets-for-shard, the former
flags are applied to all of the shards you create.
Examples:
@ -391,7 +395,7 @@ FLAGS
"class com.foo.ClassForShard2#testMethod1,com.foo.ClassForShard2#testMethod2"
To specify both package and class in the same shard, separate package
and class with semi-colons:
and class with semicolons:
--test-targets-for-shard
"class com.foo.ClassForShard3;package com.package.for.shard3"