aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/test-with-timeout.patch
blob: 8a51396d908fc8fdc2737efb1f6e4423fc0f2d82 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Run tests with a timeout
 Tests are getting stuck for almost 3 hours because we race somewhere and end up
 getting stuck waiting for calls that never happen.
Author: Julian Andres Klode <juliank@ubuntu.com>
--- a/aptdaemon/test.py
+++ b/aptdaemon/test.py
@@ -223,7 +223,7 @@ class AptDaemonTestCase(unittest.TestCas
             path = "/usr/sbin/aptd"
         else:
             path = os.path.join(dir, "../aptd")
-        cmd = ["python3", path, "--disable-timeout", "--disable-plugins",
+        cmd = ["python3", path, "--disable-plugins",
                "--chroot", chroot]
         if debug:
             cmd.append("--debug")