HomeSort by relevance Sort by last modified time
    Searched refs:shards (Results 1 - 25 of 72) sorted by null

1 2 3

  /external/autotest/puppylab/
lab_manifest.py 14 shards. The afe on shards does not __need__ to be exposed.
16 show up on the host page of hosts sent to shards on the
20 'abc' the shards will do their heartbeat against
22 2. Shards: A list of boards for which to create shards. Note
32 # Shards will have their afes listening on base_port + shard number.
36 # Boards for which to create shards.
37 shards = ['board:stumpy'] variable
clusterctl 56 # TODO: Enable multiple shards via command line args.
122 actually in control of all the shards in the cluster and can address
135 @param num_shards: The number of shards we wish to add to the cluster.
154 if lab_manifest.shards:
155 board = lab_manifest.shards.pop()
172 @param num_shards: The number of shards in the cluster. Each shard
248 shards if their shadow configs are as expected. If the shadow
282 @param num_shards: Number of shards. You cannot change
283 the number of shards on a running cluster, you need
  /external/autotest/client/site_tests/graphics_dEQP/
generate_controlfiles.py 7 3) Decomposing a test into shards. Ideally shard_count is chosen such that
16 Test = namedtuple('Test', 'filter, suite, shards, time, hasty, notpass')
33 Test('dEQP-EGL.functional', Suite.none, shards=1, hasty=False, notpass=False, time='LENGTHY'),
34 Test('dEQP-EGL.info', Suite.none, shards=1, hasty=False, notpass=False, time='SHORT'),
35 Test('dEQP-EGL.performance', Suite.none, shards=1, hasty=False, notpass=False, time='SHORT'),
36 Test('dEQP-EGL.stress', Suite.none, shards=1, hasty=False, notpass=False, time='LONG'),
37 Test('dEQP-GLES2.accuracy', Suite.bvtcq, shards=1, hasty=False, notpass=False, time='FAST'),
38 Test('dEQP-GLES2.capability', Suite.bvtcq, shards=1, hasty=False, notpass=False, time='FAST'),
39 Test('dEQP-GLES2.functional', Suite.daily, shards=1, hasty=False, notpass=False, time='LENGTHY'),
40 Test('dEQP-GLES2.functional', Suite.none, shards=1, hasty=True, notpass=False, time='LONG')
    [all...]
  /tools/tradefederation/core/prod-tests/src/com/android/ota/tests/
OtaStabilityTestTest.java 32 * shards.
38 Collection<IRemoteTest> shards = test.split(); local
39 assertEquals(5, shards.size());
40 for (IRemoteTest shardTest : shards) {
47 * Test {@link OtaStabilityTest#split()}, where there are more iterations than shards.
53 Collection<IRemoteTest> shards = test.split(); local
54 assertEquals(5, shards.size());
55 for (IRemoteTest shardTest : shards) {
68 Collection<IRemoteTest> shards = test.split(); local
69 assertEquals(3, shards.size())
    [all...]
OtaStabilityTest.java 88 @Option(name = "shards", description = "Optional number of shards to split test into. " +
89 "Iterations will be split evenly among shards.", importance = Importance.IF_UNSET)
169 * Set the number of shards
171 void setShards(int shards) {
172 mShards = shards;
183 Collection<IRemoteTest> shards = new ArrayList<>(mShards); local
191 // attempt to divide iterations evenly among shards with no remainder
196 shards.add(testShard);
199 return shards;
    [all...]
  /tools/tradefederation/core/src/com/android/tradefed/testtype/
StubTest.java 38 name = "num-shards",
101 List<IRemoteTest> shards = new ArrayList<IRemoteTest>(mNumShards); local
103 shards.add(new StubTest());
106 LogLevel.INFO, "splitting into %d shards", mNumShards);
107 return shards;
InstalledInstrumentationsTest.java 149 @Option(name = "shards", description =
150 "Split test run into this many parallel shards")
203 * Sets the number of total shards this test should be split into.
371 Collection<IRemoteTest> shards = new ArrayList<>(mShards); local
373 shards.add(getTestShard(mShards, index));
375 return shards;
AndroidJUnitTest.java 66 /** instrumentation test runner argument used to specify the total number of shards */
365 Collection<IRemoteTest> shards = new ArrayList<>(shardCount); local
367 shards.add(getTestShard(shardCount, index));
369 return shards;
  /external/autotest/cli/
shard.py 6 manage shards in Autotest.
11 list: lists shards with label
26 msg_items = '<shards>'
34 attribute_name='shards',
39 return self.shards
53 if self.shards:
54 filters['hostname__in'] = self.shards
60 """Prints a warning if one label is assigned to multiple shards.
71 'multiple shards.\n'
98 req_items='shards')
    [all...]
  /external/chromium-trace/catapult/telemetry/telemetry/testing/
run_browser_tests.py 53 |num_tests| tests are split across |total_shards| shards, and that
68 # More complicated. Some shards will run floored_tests_per_shard
98 def _DebugShardDistributions(shards, test_times):
99 for i, s in enumerate(shards):
114 shards = []
116 shards.append({'total_time': 0.0, 'tests': []})
127 # Greedy scheduling. O(m*n), where m is the number of shards and n
133 if min_shard_time is None or shards[i]['total_time'] < min_shard_time:
135 min_shard_time = shards[i]['total_time']
136 shards[min_shard_index]['tests'].append(t
    [all...]
  /external/skia/tools/lua/
ngrams_aggregate.lua 3 -- Get the data from all shards.
  /prebuilts/tools/linux-x86_64/kythe/proto/
storage.proto 48 // results when the store is being written to. Shards are indexed from 0.
200 int64 shards = 2;
212 int64 shards = 2;
  /external/autotest/server/
system_utils.py 32 """Get a list of shards from server database or global config.
38 shards = config.get_config_value(
39 'SERVER', 'shards', default='')
40 return [hostname.strip() for hostname in shards.split(',')]
  /external/libvpx/libvpx/tools/
all_builds.py 7 LONG_OPTIONS = ["shard=", "shards="]
35 options = {"--shard": 0, "--shards": 1}
44 print "Usage: %s [--shard=<n> --shards=<n>] -- [configure flag ...]"%argv[0]
52 shards = int(options["--shards"])
58 my_configs = filter(lambda x: x[1] % shards == shard, my_configs)
  /tools/tradefederation/core/prod-tests/src/com/android/stability/tests/
RebootStressTest.java 54 @Option(name = "shards", description = "Optional number of shards to split test into. " +
55 "Iterations will be split evenly among shards.", importance = Importance.IF_UNSET)
110 * Set the number of shards
112 void setShards(int shards) {
113 mShards = shards;
157 Collection<IRemoteTest> shards = new ArrayList<IRemoteTest>(mShards); local
167 // attempt to divide iterations evenly among shards with no remainder
172 shards.add(testShard);
175 return shards;
    [all...]
  /tools/tradefederation/core/src/com/android/tradefed/invoker/shard/
ShardHelper.java 41 /** Helper class that handles creating the shards and scheduling them for an invocation. */
71 // create the TestInvocationListener that will collect results from all the shards,
73 // once all shards complete
179 Collection<IRemoteTest> shards = null; local
182 shards = shardableTest.split(shardCount);
184 shards = shardableTest.split();
186 if (shards != null) {
187 shardableTests.addAll(shards);
199 * shards. Currently excludes {@link IShardableListener}s.
  /cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/command/
CompatibilityConsole.java 124 int shards = Integer.parseInt(arg);
125 if (shards <= 1) {
126 printLine("number of shards should be more than 1");
129 splitModules(shards);
192 "\t\t\t--shard-count <shards>: Shards a run into the given number of independent " +
243 private void splitModules(int shards) {
292 for (int i = 0; i < shards; i++) {
297 long[] shardTimes = new long[shards];
298 // go through the sorted list, distribute modules into shards in zig-zag pattern to ge
    [all...]
  /cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/
IModuleRepo.java 40 void initialize(int shards, Integer shardIndex, File testsDir, Set<IAbi> abis,
54 * @return the number of shards this repo is initialized for.
  /external/guava/guava-tests/test/com/google/common/hash/
HashingTest.java 166 for (int shards = 1; shards <= 100000; shards++) {
167 int b = Hashing.consistentHash(hashCode, shards);
169 assertEquals(shards - 1, b);
189 for (int shards = 2; shards <= MAX_SHARDS; shards++) {
190 int chosen = Hashing.consistentHash(h, shards);
192 map.incrementAndGet(shards);
    [all...]
  /external/autotest/tko/
retrieve_logs.cgi 87 @param is_shard: True if hosts are shards, False otherwise.
108 # This cgi script is run only in master (cautotest) and shards.
110 # Only master should check drones and shards for the requested log.
111 # Also restricted users do not have access to drones or shards,
116 shards = system_utils.get_shards()
120 tpool_args += _get_tpool_args(shards, job_path, True, host_set)
  /external/skia/infra/bots/recipe_modules/swarming/
api.py 194 if summary['shards'][0]['state'] in states_infra_failure:
205 """Add Milo log links to all shards in the step."""
207 shards = summary.get('shards')
208 if shards:
209 for shard in shards:
  /external/autotest/site_utils/
server_manager_utils.py 346 """Get a list of shards in status primary.
348 @return: A list of shards in status primary.
  /external/protobuf/java/core/src/test/java/com/google/protobuf/
IsValidUtf8TestUtil.java 212 List<Shard> shards = new ArrayList<Shard>(numShards);
217 shards.add(new Shard(i, increment * i, increment * (i + 1), expected[i]));
219 return shards;
  /cts/tests/jdwp/runner/host-side/src/com/android/compatibility/testtype/
DalvikTest.java 471 List<IRemoteTest> shards = new ArrayList<>(); local
476 shards.add(catchAll);
488 shards.add(test);
491 return shards;
  /tools/tradefederation/core/src/com/android/tradefed/testtype/testdefs/
XmlDefsTest.java 114 @Option(name = "num-shards",
167 * Sets the number of shards test should be split into
171 void setNumShards(int shards) {
172 mNumShards = shards;
399 // treat shardQueue as a circular queue, to sequentially distribute tests among shards
401 // don't create more shards than the number of tests we have!

Completed in 1704 milliseconds

1 2 3