diff options
author | 2023-08-03 16:33:41 +0600 | |
---|---|---|
committer | 2023-08-03 16:33:41 +0600 | |
commit | 70faa8e9a0ff3cba74b4f753e257d56b768fcbd2 (patch) | |
tree | 3a49460715f7319d100e0cc9c1a278758500c7c8 /debian/patches/test-with-timeout.patch | |
download | aptdaemon-70faa8e9a0ff3cba74b4f753e257d56b768fcbd2.tar.gz aptdaemon-70faa8e9a0ff3cba74b4f753e257d56b768fcbd2.zip |
Import Upstream version 1.1.1+bzr982
Diffstat (limited to '')
-rw-r--r-- | debian/patches/test-with-timeout.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/test-with-timeout.patch b/debian/patches/test-with-timeout.patch new file mode 100644 index 0000000..8a51396 --- /dev/null +++ b/debian/patches/test-with-timeout.patch @@ -0,0 +1,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") |