]> git.ipfire.org Git - thirdparty/qemu.git/commit
tests/functional: retry when seeing ConnectionError exception
authorDaniel P. Berrangé <berrange@redhat.com>
Thu, 18 Sep 2025 12:57:45 +0000 (13:57 +0100)
committerThomas Huth <thuth@redhat.com>
Wed, 24 Sep 2025 06:26:11 +0000 (08:26 +0200)
commitbcc251800b9e60c541de860dc8a1ced70622ee43
tree4398c53e4b058ce2780dd892bc23f1a1f3ad847d
parent4f1ebc7712a7db61155080164f2169320d033559
tests/functional: retry when seeing ConnectionError exception

This base class is used for many different socket connection
errors, corresponding to ECONNRESET, ECONNREFUSED, ECONNABORTED
and more. Most of these are things you might expect to see every
now and then as transient flaws. We should thus retry the asset
download when seeing them.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20250918125746.1165658-2-berrange@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/functional/qemu_test/asset.py