From 70faa8e9a0ff3cba74b4f753e257d56b768fcbd2 Mon Sep 17 00:00:00 2001 From: Mubashshir Date: Thu, 3 Aug 2023 16:33:41 +0600 Subject: Import Upstream version 1.1.1+bzr982 --- debian/patches/test-with-timeout.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 debian/patches/test-with-timeout.patch (limited to 'debian/patches/test-with-timeout.patch') 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 +--- 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") -- cgit v1.2.3