File: 0001-increase-timeout-on-rv64.patch

package info (click to toggle)
power-profiles-daemon 0.30-1.1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 772 kB
  • sloc: ansic: 4,204; python: 2,383; xml: 107; sh: 35; makefile: 15
file content (25 lines) | stat: -rw-r--r-- 705 bytes parent folder | download | duplicates (2)
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
Index: b/tests/integration_test.py
===================================================================
--- a/tests/integration_test.py
+++ b/tests/integration_test.py
@@ -29,6 +29,8 @@
 
 import dbus
 
+import platform
+
 try:
     import gi
     from gi.repository import GLib
@@ -2205,7 +2207,10 @@
             stderr=sys.stderr,
         ) as launch_process:
             self.assertTrue(launch_process)
-            time.sleep(1)
+            if platform.machine() == 'riscv64':
+                time.sleep(3)
+            else:
+                time.sleep(1)
             holds = self.get_dbus_property("ActiveProfileHolds")
             self.assertEqual(len(holds), 1)
             hold = holds[0]