avocado-framework / avocado

Avocado is a set of tools and libraries to help with automated testing. One can call it a test framework with benefits. Native tests are written in Python and they follow the unittest pattern, but any executable can serve as a test.
https://avocado-framework.github.io/
Other
345 stars 343 forks source link

Avocado instrumented timeout in setUp and tearDown fix #6015

Closed richtja closed 2 months ago

richtja commented 2 months ago

This commit is a fix for avocado-instrumented timeouts. When the tests are interrupted due to timeout during setUp or tearDown method, those tests would result in ERROR instead of INTERRUPTED. This commit updates the exception handling of this method to fix this issue.

Reference: #6013

mr-avocado[bot] commented 2 months ago

Dear contributor, Avocado is currently at the end of sprint 107, therefore we are in feature freeze state. Please avoid merging changes that do not fall into these categories:

The feature freeze will be active until the release planned on September 02, 2024.

richtja commented 2 months ago

Hi @clebergnu, thanks for your review. I have updated the tests via force-push. Please have a look.