@@ -47,7 +47,7 @@ describe('start', () => {
4747 '--proxy-host' ,
4848 '127.0.0.1' ,
4949 '--workers' ,
50- '0 ' ,
50+ 'none ' ,
5151 '--verbose' ,
5252 '--format' ,
5353 'json' ,
@@ -124,7 +124,7 @@ describe('start', () => {
124124 '--background-err-file' ,
125125 path . join ( dataDir , 'err.log' ) ,
126126 '--workers' ,
127- '0 ' ,
127+ 'none ' ,
128128 '--verbose' ,
129129 '--format' ,
130130 'json' ,
@@ -223,7 +223,7 @@ describe('start', () => {
223223 '--proxy-host' ,
224224 '127.0.0.1' ,
225225 '--workers' ,
226- '0 ' ,
226+ 'none ' ,
227227 '--verbose' ,
228228 '--format' ,
229229 'json' ,
@@ -249,7 +249,7 @@ describe('start', () => {
249249 '--proxy-host' ,
250250 '127.0.0.1' ,
251251 '--workers' ,
252- '0 ' ,
252+ 'none ' ,
253253 '--verbose' ,
254254 '--format' ,
255255 'json' ,
@@ -323,7 +323,7 @@ describe('start', () => {
323323 '--proxy-host' ,
324324 '127.0.0.1' ,
325325 '--workers' ,
326- '0 ' ,
326+ 'none ' ,
327327 '--verbose' ,
328328 '--format' ,
329329 'json' ,
@@ -385,7 +385,6 @@ describe('start', () => {
385385 errorStatusLocked ,
386386 ] ) ;
387387 bootstrapProcess . kill ( 'SIGTERM' ) ;
388- } else if ( index === 1 ) {
389388 testUtils . expectProcessError ( exitCode ! , stdErrLine2 , [
390389 errorStatusLocked ,
391390 ] ) ;
@@ -409,7 +408,7 @@ describe('start', () => {
409408 '--proxy-host' ,
410409 '127.0.0.1' ,
411410 '--workers' ,
412- '0 ' ,
411+ 'none ' ,
413412 '--verbose' ,
414413 ] ,
415414 {
@@ -439,7 +438,7 @@ describe('start', () => {
439438 '--proxy-host' ,
440439 '127.0.0.1' ,
441440 '--workers' ,
442- '0 ' ,
441+ 'none ' ,
443442 '--verbose' ,
444443 ] ,
445444 {
@@ -487,7 +486,7 @@ describe('start', () => {
487486 '--proxy-host' ,
488487 '127.0.0.1' ,
489488 '--workers' ,
490- '0 ' ,
489+ 'none ' ,
491490 '--verbose' ,
492491 ] ,
493492 {
@@ -528,7 +527,7 @@ describe('start', () => {
528527 '--proxy-host' ,
529528 '127.0.0.1' ,
530529 '--workers' ,
531- '0 ' ,
530+ 'none ' ,
532531 '--fresh' ,
533532 '--verbose' ,
534533 '--format' ,
@@ -615,7 +614,7 @@ describe('start', () => {
615614 '--proxy-host' ,
616615 '127.0.0.1' ,
617616 '--workers' ,
618- '0 ' ,
617+ 'none ' ,
619618 '--verbose' ,
620619 '--format' ,
621620 'json' ,
@@ -655,7 +654,7 @@ describe('start', () => {
655654 '--proxy-host' ,
656655 '127.0.0.1' ,
657656 '--workers' ,
658- '0 ' ,
657+ 'none ' ,
659658 '--verbose' ,
660659 ] ,
661660 {
@@ -678,7 +677,7 @@ describe('start', () => {
678677 await testUtils . processExit ( agentProcess2 ) ;
679678 // Check that the password has changed
680679 const agentProcess3 = await testUtils . pkSpawn (
681- [ 'agent' , 'start' , '--workers' , '0 ' , '--verbose' ] ,
680+ [ 'agent' , 'start' , '--workers' , 'none ' , '--verbose' ] ,
682681 {
683682 env : {
684683 PK_NODE_PATH : path . join ( dataDir , 'polykey' ) ,
@@ -712,7 +711,7 @@ describe('start', () => {
712711 '--proxy-host' ,
713712 '127.0.0.1' ,
714713 '--workers' ,
715- '0 ' ,
714+ 'none ' ,
716715 '--verbose' ,
717716 ] ,
718717 {
@@ -763,7 +762,7 @@ describe('start', () => {
763762 'agent' ,
764763 'start' ,
765764 '--workers' ,
766- '0 ' ,
765+ 'none ' ,
767766 '--client-host' ,
768767 clientHost ,
769768 '--client-port' ,
@@ -833,7 +832,7 @@ describe('start', () => {
833832 'agent' ,
834833 'start' ,
835834 '--workers' ,
836- '0 ' ,
835+ 'none ' ,
837836 '--verbose' ,
838837 '--private-key-file' ,
839838 privateKeyPath ,
@@ -931,7 +930,7 @@ describe('start', () => {
931930 '--proxy-host' ,
932931 '127.0.0.1' ,
933932 '--workers' ,
934- '0 ' ,
933+ 'none ' ,
935934 '--seed-nodes' ,
936935 `${ seedNodeId1 } @${ seedNodeHost1 } :${ seedNodePort1 } ;<defaults>` ,
937936 '--network' ,
@@ -998,7 +997,7 @@ describe('start', () => {
998997 '--proxy-host' ,
999998 '127.0.0.1' ,
1000999 '--workers' ,
1001- '0 ' ,
1000+ 'none ' ,
10021001 '--verbose' ,
10031002 ] ,
10041003 {
0 commit comments