Limit Background Process response waiting time

Hi,

I’m running PHP Laravel Dusk Test (Browser Test) using google chrome driver. My problem is when running the command ./vendor/laravel/dusk/bin/chromedriver-linux It always take 10 minutes before it will stop waiting for the response same thing happen to command php artisan serve. Overall It took me more than 20 minutes to finish 1 single test. These two commands are set in my yml file to run in the background
test:
pre:
- “./vendor/laravel/dusk/bin/chromedriver-linux”:
background: true
- “php artisan serve”:
background: true

Is there way to resolve this possibly limiting the waiting time?
Hope to hear some solutions.

Thanks

i found the solution

dependencies:
  override:
    - bundle install: # note the colon here
        timeout: 240 # note the double indentation (four spaces) here
        environment:
          foo: bar
          foo2: bar2
        pwd:
          test_dir