From 4a00ac91c6de6400ba6e5e33e174fc065a95982f Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Wed, 2 Nov 2022 13:40:51 -0400 Subject: [PATCH] tests: Shorten internal codegen test timeout the gio dbus codegen test has 10 test cases in it. Each test case is given 100 seconds to complete. That is far longer than they should need. Furthermore, the entire test is only given 60s to complete. This commit makes the internal timeout more consistent with the external timeout, by giving each of the 10 test cases 6 seconds instead of 100s. --- gio/tests/codegen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gio/tests/codegen.py b/gio/tests/codegen.py index 76e289a80..4ce0b5948 100644 --- a/gio/tests/codegen.py +++ b/gio/tests/codegen.py @@ -61,7 +61,7 @@ class TestCodegen(unittest.TestCase): cwd = "" def setUp(self): - self.timeout_seconds = 100 # seconds per test + self.timeout_seconds = 6 # seconds per test self.tmpdir = tempfile.TemporaryDirectory() self.cwd = os.getcwd() os.chdir(self.tmpdir.name)