File: Test-failing-often-on-debci-infrastructure.patch

package info (click to toggle)
symfony 6.4.25%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 138,776 kB
  • sloc: php: 1,443,643; xml: 6,601; sh: 605; javascript: 597; makefile: 188; pascal: 71
file content (41 lines) | stat: -rw-r--r-- 1,885 bytes parent folder | download
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
33
34
35
36
37
38
39
40
41
From: =?utf-8?q?David_Pr=C3=A9vot?= <david@tilapin.org>
Date: Tue, 26 Aug 2025 07:05:16 +0200
Subject: Test failing often on debci infrastructure

---
 src/Symfony/Component/Process/Tests/ProcessTest.php          | 1 +
 src/Symfony/Component/Stopwatch/Tests/StopwatchEventTest.php | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/src/Symfony/Component/Process/Tests/ProcessTest.php b/src/Symfony/Component/Process/Tests/ProcessTest.php
index ff1cf71..8a1d27b 100644
--- a/src/Symfony/Component/Process/Tests/ProcessTest.php
+++ b/src/Symfony/Component/Process/Tests/ProcessTest.php
@@ -1562,6 +1562,7 @@ class ProcessTest extends TestCase
 
     public function testWaitStoppedDeadProcess()
     {
+        $this->markTestSkipped('Test failing often on riscv64 and debci infrastructure');
         $process = $this->getProcess(self::$phpBin.' '.__DIR__.'/ErrorProcessInitiator.php -e '.self::$phpBin);
         $process->start();
         $process->setTimeout(2);
diff --git a/src/Symfony/Component/Stopwatch/Tests/StopwatchEventTest.php b/src/Symfony/Component/Stopwatch/Tests/StopwatchEventTest.php
index aa1e38e..3183ce3 100644
--- a/src/Symfony/Component/Stopwatch/Tests/StopwatchEventTest.php
+++ b/src/Symfony/Component/Stopwatch/Tests/StopwatchEventTest.php
@@ -69,6 +69,7 @@ class StopwatchEventTest extends TestCase
 
     public function testDuration()
     {
+        $this->markTestSkipped('Test failing often on debci infrastructure');
         $event = new StopwatchEvent(microtime(true) * 1000);
         $event->start();
         usleep(200000);
@@ -106,6 +107,7 @@ class StopwatchEventTest extends TestCase
 
     public function testDurationWithMultipleStarts()
     {
+        $this->markTestSkipped('Test failing often on debci infrastructure');
         $event = new StopwatchEvent(microtime(true) * 1000);
         $event->start();
         usleep(100000);