Skip to content

Commit d199320

Browse files
author
bors-servo
authored
Auto merge of #174 - fitzgen:small-typos, r=emilio
Fix a small typo and expand batching comment r? @emilio
2 parents 724aa06 + 07a5925 commit d199320

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/tests.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,9 @@ fn run_bindgen_tests() {
9292
.and_then(|x| x.parse::<usize>().ok())
9393
.unwrap_or(TEST_BATCH_DEFAULT_SIZE);
9494

95-
// Spawn batch_size child to run in parallel
96-
// and wait on all of them before processing the next batch
95+
// Spawn `batch_size` children to run in parallel and wait on all of them
96+
// before processing the next batch. This puts a limit on the resources
97+
// consumed when testing, so that we don't overload the system.
9798

9899
let children = tests.chunks(batch_size).map(|x| {
99100
x.iter().map(|entry| {

0 commit comments

Comments
 (0)