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:
Ray Strode 2022-11-02 13:40:51 -04:00
parent 6e57afdefd
commit 4a00ac91c6

View File

@ -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)