HomeSoftware Heritage

tests: make test_statsd more robust when executed along other asyncio-based…

Description

tests: make test_statsd more robust when executed along other asyncio-based tests

use a newly created event loop to consume events in test_timed_coroutine.
ome reason, executing this later test in the same test session as
swh/core/api/tests/test_async.py fail because the main event loop seems
to be closed by the test.

Details

Provenance
douarddaAuthored on Jul 1 2019, 3:15 PM
douarddaPushed on Jul 4 2019, 12:14 PM
Differential Revision
D1671: api/async: fix json decoder and add a few tests for the asynchronous api code
Parents
rDCOREb5a48c4f0f8b: api: fix json decoder
Branches
Unknown
Tags
Unknown
Build Status
Buildable 6680
Build 9330: test-and-build