Reputation: 31
I'm using Laravel Dusk to test an application and I'm would like to run several instances of tests at the same time. I have 2 Laravel projects, each containing tests that are intended to a certain version of the application, which requires separates Chrome instances (the used ChromeDriver version is 2.28)
To do so, I run the php artisan dusk
command in each project folder but I'm getting the following error after some time, making both Chrome instances crash :
Facebook\WebDriver\Exception\NoSuchDriverException: no such session
(Driver info: chromedriver=2.28.455517 (2c6d2707d8ea850c862f04ac066724273981e88f),platform=Mac OS X 10.12.5 x86_64)
Is there a way to run these tests simultaneously in separate Chrome instances?
Upvotes: 3
Views: 865
Reputation: 390
I found a solution for this: in my gitlab-runner i have put
shm_size = 536870912
that fixed all no sessions
errors.
Upvotes: 0