Source: asyncpg Version: 0.18.2-1 Severity: normal Tags: patch Dear Maintainer,
The hppa architecture is slow by and some tests timeout. See: https://buildd.debian.org/status/fetch.php?pkg=asyncpg&arch=hppa&ver=0.18.2-1&stamp=1544292148&raw=0 I had a successful build with the attached patch. Would you please increase the timeouts adjusted in the patch on hppa. Thanks, Dave Anglin -- System Information: Debian Release: buster/sid APT prefers buildd-unstable APT policy: (500, 'buildd-unstable'), (500, 'unstable') Architecture: hppa (parisc64) Kernel: Linux 4.14.87+ (SMP w/4 CPU cores) Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)
--- ./tests/test_introspection.py.save 2018-12-08 14:02:45.169356827 -0500 +++ ./tests/test_introspection.py 2018-12-08 14:03:03.019439757 -0500 @@ -12,7 +12,7 @@ from asyncpg import connection as apg_con -MAX_RUNTIME = 0.1 +MAX_RUNTIME = 0.25 class SlowIntrospectionConnection(apg_con.Connection): --- ./tests/test_pool.py.save 2018-12-08 13:31:16.720834556 -0500 +++ ./tests/test_pool.py 2018-12-08 14:36:25.113217328 -0500 @@ -28,7 +28,7 @@ # Travis' macOS is _slow_. POOL_NOMINAL_TIMEOUT = 0.5 else: - POOL_NOMINAL_TIMEOUT = 0.1 + POOL_NOMINAL_TIMEOUT = 0.5 class SlowResetConnection(pg_connection.Connection): @@ -393,7 +393,7 @@ task = self.loop.create_task(worker()) # Let the worker() run. - await asyncio.sleep(0.1, loop=self.loop) + await asyncio.sleep(0.4, loop=self.loop) # Cancel the worker. task.cancel() # Wait to make sure the cleanup has completed.