Skip to content

Commit aa21bea

Browse files
committed
Manually merged #30 to fix conflicts and fixed test fixtures.
2 parents 5426af9 + 9650a46 commit aa21bea

3 files changed

Lines changed: 13 additions & 6 deletions

File tree

lib/mapping.js

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -371,19 +371,24 @@ var options = {
371371
param: 'id',
372372
info: 'test name to use when submitting results to tsviewdb (for private instances that have integrated with tsviewdb)'
373373
},
374+
'tsviewconfigs': {
375+
name: 'tsViewConfigs',
376+
api: 'tsview_configs',
377+
param: 'string',
378+
info: 'configs to use when submitting results to tsviewdb (for private instances that have integrated with tsviewdb)'
379+
},
374380
'affinity': {
375381
name: 'affinity',
376382
api: 'affinity',
377383
param: 'string',
378384
info: 'string to hash test to a specific test agent. tester will be picked by index among available testers'
379385
},
380-
'tsviewconfigs': {
381-
name: 'tsViewConfigs',
382-
api: 'tsview_configs',
386+
'priority': {
387+
name: 'priority',
388+
api: 'priority',
383389
param: 'string',
384-
info: 'configs to use when submitting results to tsviewdb (for private instances that have integrated with tsviewdb)'
390+
info: 'change test priority'
385391
},
386-
387392
// Undocumented/experimental/transitent/deprecated
388393
'noads': {
389394
name: 'blockAds',

test/fixtures/command-line/help-test.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@
5252
-A, --medianvideo store the video from the median run when capturing video is enabled
5353
--htmlbody save the content of only the base HTML response
5454
--tsview <id> test name to use when submitting results to tsviewdb (for private instances that have integrated with tsviewdb)
55+
--tsviewconfigs <string> configs to use when submitting results to tsviewdb (for private instances that have integrated with tsviewdb)
5556
--affinity <string> string to hash test to a specific test agent. tester will be picked by index among available testers
57+
--priority <string> change test priority
5658
--noads block ads defined by adblockrules.org
5759
--continuous capture video continuously (unstable/experimental, may cause tests to fail)
5860
--spdy3 force SPDY version 3 (Chrome only)

test/fixtures/command-line/help.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080

8181
-h, --help output usage information
8282
-V, --version output the version number
83-
-s, --server <server> the WPT server URL [http://www.webpagetest.org]
83+
-s, --server <server> the WPT server URL [latencylab.corp.google.com]
8484
-d, --dryrun just return the RESTful API URL
8585
-o, --out <file> place the output into <file>. Defaults to stdout
8686

0 commit comments

Comments
 (0)