I have an application in Laravel 5.3 and it has a bunch of integration tests. So when integration tests run, it creates a test database by running the migrations which are 268 in total. So when I run this particular test alone it works fine but when I run a batch of them together, this error pops up:
Symfony\Component\Process\Exception\ProcessTimedOutException: The process "mysql -u -p < /tmp/c2eecb1b530b0f6eb5062f7ab1c3dcdf" exceeded the timeout of 60 seconds.
I have tried to increase the timeout to 120 like this:
$process = new Process($command);
$process->setTimeout(120);
$process->run();
But the same error pops up. What could be the issue here? what do I need to get rid of this error?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire