Skip to content

Commit defdc84

Browse files
committed
Increase timeouts to avoid test false positives
1 parent 276f8ea commit defdc84

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Tests/Fixtures/App/console

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ use Symfony\Component\Console\ConsoleEvents;
1515
use Symfony\Component\Console\Input\ArgvInput;
1616
use Symfony\Component\Debug\Debug;
1717

18-
set_time_limit(2);
18+
set_time_limit(30);
1919

2020
$loader = require('../../../vendor/autoload.php');
2121
AnnotationRegistry::registerLoader(array($loader, 'loadClass'));

Tests/Fixtures/LockCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
5353
$output->writeln('Starting Child');
5454
$process = new Process('php console test:lock --child=1 --child-lock-location='.$this->getLockFileFolder());
5555
$process->setWorkingDirectory($this->getApplication()->getKernel()->getRootDir());
56-
$process->setTimeout(2);
56+
$process->setTimeout(10);
5757
$process->run();
5858

5959

0 commit comments

Comments
 (0)