Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handling of interrupt signal during long running tests #444

Open
aservedio opened this issue Aug 1, 2024 · 1 comment
Open

Handling of interrupt signal during long running tests #444

aservedio opened this issue Aug 1, 2024 · 1 comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@aservedio
Copy link

What do you want to see?

Hello.

Before anything, I'm a happy new user of the e2e-framework and I'm enjoying its usage and results. Great work!

I'm opening this request to inquire about the handling interrupt signal for long running tests. Basically I would love that if a test run is interrupted, it stops processing features and calls its Teardown and Finish functions, just like when one of the feature test fails.

Looking at issues, examples and code, the closest thing I found was that I could provide my own context but other then that I did not find anything that could help this objective, and I'm not sure it makes sense considering it never came up until now.

At first glance I'm guessing some modifications to the env.processTests function among other things would be a start.

Thoughts?

Thanks! :)

Extra Labels

No response

@aservedio aservedio added the kind/feature Categorizes issue or PR as related to a new feature. label Aug 1, 2024
@aservedio aservedio changed the title Handling of interrupt signal during long runing tests Handling of interrupt signal during long running tests Aug 1, 2024
@vladimirvivien
Copy link
Contributor

@aservedio thanks for pointing this out.
Right now there is weak signal handling in the code even though the context propagates everywhere.
I think it's a good idea to finally revisit this and add proper signal handling.

cc @harshanarayana

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

2 participants