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

Backport: Add exception handling for OSError that my be thrown by os.fsync #6021

Closed smitterl closed 1 month ago

smitterl commented 2 months ago

We've seen instances where "Bad file descriptor" OSError was raised. This looks similar to 52d69bed34982ba36b535c70293ea686fedb1898. Handle in the same way by ignoring the error and continuing execution.

smitterl commented 1 month ago

Closing in favor of https://github.com/avocado-framework/avocado-vt/pull/4001