Skip to content

Commit

Permalink
support random sim order
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Oct 22, 2020
1 parent 97da1f4 commit 50a1db4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test-server/test-sims.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@
testConcurrentBuilds: {
type: 'number',
defaultValue: 1
},
randomize: {
type: 'flag'
}
} );

Expand Down Expand Up @@ -317,6 +320,9 @@
if ( options.testSims.length ) {
simNames = options.testSims;
}
if ( options.randomize ) {
simNames = _.shuffle( simNames );
}

simNames.forEach( function( simName ) {
createStatusElement( simName );
Expand Down

0 comments on commit 50a1db4

Please sign in to comment.