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
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
This is a duplicate of issue #1171050