File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -255,7 +255,7 @@ pub enum Command {
255
255
/// The number of the test worker connecting for a test suite run.
256
256
///
257
257
/// There may not be duplicate worker numberings in an ABQ test suite run.
258
- #[ clap( long, required = false , default_value_t = 0 ) ]
258
+ #[ clap( long, required = false , default_value_t = 0 , env ( "ABQ_WORKER" ) ) ]
259
259
worker : u32 ,
260
260
261
261
/// How many times to retry failed tests.
@@ -297,7 +297,13 @@ pub enum Command {
297
297
/// Number of runners to start on the worker.
298
298
///
299
299
/// Set to "cpu-cores" to use the number of available (physical) CPUs cores - 1.
300
- #[ clap( long, short = 'n' , required = false , default_value = "1" ) ]
300
+ #[ clap(
301
+ long,
302
+ short = 'n' ,
303
+ required = false ,
304
+ default_value = "1" ,
305
+ env( "ABQ_RUNNERS" )
306
+ ) ]
301
307
num : NumRunners ,
302
308
303
309
/// Token to authorize messages sent to the queue with.
@@ -335,7 +341,7 @@ pub enum Command {
335
341
reporter : Vec < ReporterKind > ,
336
342
337
343
/// How many tests to send to a worker a time.
338
- #[ clap( long, default_value = "7" ) ]
344
+ #[ clap( long, default_value = "7" , env ( "ABQ_BATCH_SIZE" ) ) ]
339
345
batch_size : NonZeroU64 ,
340
346
341
347
/// How ABQ will distribute the tests.
You can’t perform that action at this time.
0 commit comments