1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
From: Daniel Beyer <dabe@deb.ymc.ch>
Date: Fri, 30 Jan 2015 10:59:37 +0100
Subject: Increasing timeout in test
AbstractProcessTest::testStartAfterATimeout()
This hopefully will allow ci.debian.net to run DEP-8 as installed tests
and might prevent FTBFS #775625 from hitting us again.
Forwarded: no
---
src/Symfony/Component/Process/Tests/ProcessTest.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/Symfony/Component/Process/Tests/ProcessTest.php b/src/Symfony/Component/Process/Tests/ProcessTest.php
index 1972868..8c385fa 100644
--- a/src/Symfony/Component/Process/Tests/ProcessTest.php
+++ b/src/Symfony/Component/Process/Tests/ProcessTest.php
@@ -868,12 +868,12 @@ class ProcessTest extends TestCase
/**
* @expectedException \Symfony\Component\Process\Exception\ProcessTimedOutException
- * @expectedExceptionMessage exceeded the timeout of 0.1 seconds.
+ * @expectedExceptionMessage exceeded the timeout of 0.5 seconds.
*/
public function testStartAfterATimeout()
{
$process = $this->getProcessForCode('sleep(35);');
- $process->setTimeout(0.1);
+ $process->setTimeout(0.5);
try {
$process->run();
|