-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
Type: questionFurther information is requestedFurther information is requested
Description
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:
- Set low Jest timeout (e.g. 10 secs)
- Run a test which starts a scan inside and then fails by timeout.
- 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.
Metadata
Metadata
Assignees
Labels
Type: questionFurther information is requestedFurther information is requested