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

Scans initiated by tests failed by timeout get disrupted #74

Open
wawaqa opened this issue May 6, 2022 · 0 comments
Open

Scans initiated by tests failed by timeout get disrupted #74

wawaqa opened this issue May 6, 2022 · 0 comments
Labels
Type: question Further information is requested

Comments

@wawaqa
Copy link

wawaqa commented May 6, 2022

If a test fails by timeout, it leaves a scan in the app. Once the scan start, the repeater is already removed, therefore the scan finds no EPs and gets discrupted.
Steps to reproduce:

  1. Set low Jest timeout (e.g. 10 secs)
  2. Run a test which starts a scan inside and then fails by timeout.
  3. Observe the scan.

Actual: scan gets disrupted since by the time it starts the repeater is already removed and therefore no EPs are found.
Expected: we should think about a more graceful way to handle such a situation (stop a scan inside runner.clear() used in afterAll hook?)

There may be 2 problems here:

  • the reason for the scan getting disrupted may not look obvious for a user
  • if we collect statistics/investigate why scans get disrupted, such scans may cause some kind of a noise.
@derevnjuk derevnjuk added the Type: question Further information is requested label May 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants