You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Angular and AngularJS discussion
Hello, what is the purpose of this line? https://github.com/angular/protractor/blob/cc501f71bc1f995a83c1041e1aa489ea0f105679/lib/launcher.ts#L210 What is the purpose of forking only when totalTasks > 1? In my case, I would like to fork even when running only a single spec file. The output format of the logs is different whether forkProcess is true or not. I would like it have consistent output format regardless of tests or suites run.
Sander Elias
unread,
Aug 14, 2019, 4:41:31 AM8/14/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Angular and AngularJS discussion
Hi Barret,
This is an optimization. Creating a fork takes resources/time. It's a waste if you only have 1 task. Testing takes long enough as it is. That is the reason it's built like this.