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

package info (click to toggle)
symfony 7.4.0~beta2%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 133,068 kB
  • sloc: php: 1,541,229; xml: 7,134; javascript: 979; sh: 584; makefile: 250; pascal: 70
file content (42 lines) | stat: -rw-r--r-- 1,907 bytes parent folder | download | duplicates (3)
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
42
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

Forwarded: not-needed
---
 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 db56c76..071a667 100644
--- a/src/Symfony/Component/Process/Tests/ProcessTest.php
+++ b/src/Symfony/Component/Process/Tests/ProcessTest.php
@@ -1567,6 +1567,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 2f697c3..cb17fd8 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);