Search Issue Tracker
Duplicate
Votes
0
Found in
Issue ID
1075945
Regression
No
Unity test runner tests aren't timing out when they should
Steps to reproduce:
1. open project
2. run playmode tests
Expected: all tests fail by timing out
Actual: tests pass without timing out
Reproduced on 2018.3.0a6
-
Resolution Note (2018.3.X):
It is not possible to timeout or cancel tests, as they are running in the main thread in Unity. A recommended workaround is to use [UnityTest] and then yield back null at each look, allowing the framework to timeout if needed.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
- VFX property value names are cut off when properties with 'Arc' are viewed in the VFX Blackboard
This is a duplicate of issue #1171050