mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
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.
This commit is contained in:
parent
6e57afdefd
commit
4a00ac91c6
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user