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

defensics: Implement a test case timeout #23

Open
michal-narajowski opened this issue May 13, 2020 · 0 comments
Open

defensics: Implement a test case timeout #23

michal-narajowski opened this issue May 13, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@michal-narajowski
Copy link

It appears that Defensics does not allow to specify a test case timeout. Sometimes, when an anomaly happens, Defensics will stop sending new commands as it is waiting for an action from the IUT and the IUT is waiting for new commands from instrumentation server. This means that the test execution will hang like that indefinitely.

We should figure out a way to reliably get out of this situation even at a cost of a test failure. Priority is to be able to run the whole test suite.

One way to fix that could be to implement a timer in the Instrumentation Server that would trigger an action after some specified amount of time. I don't yet know what action would that be. One approach could be to retry the same commands that were triggered for that particular test case.

@michal-narajowski michal-narajowski added the enhancement New feature or request label May 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant