Search Issue Tracker
In Progress
Fix In Review for 1.4.5
Votes
10
Found in [Package]
1.1.33
1.4.2
Issue ID
DSTR-862
Regression
No
Attributes are not working when used with the async test in the Test Runner
How to reproduce:
1. Open the user’s attached “ReportAsyncTestBugs.zip” project
2. In the Test Runner window run the “NUnitAPIsTest.TimeoutAttribute_WithAsyncTest_NotWorkTimeoutSoSuccess” test
Expected result: Test failed
Actual result: Test succeeded
Reproducible with: 2020.3.44f1, 2021.3.17f1, 2022.2.4f1, 2023.1.0b1
Reproduced on: macOS 12.4 (Intel)
Note: Reproducible with other attributes too (Timeout, MaxTimeAttribute, RepeatAttribute, RetryAttribute, ThrowsConstraint, DelayedConstraint, Task.Delay)
-
nowsprinting
Mar 27, 2024 21:25
> Note: Reproducible with other attributes too (Timeout, MaxTimeAttribute, RepeatAttribute, RetryAttribute, ThrowsConstraint, DelayedConstraint, Task.Delay)
However, as of v1.4.3, only the Timeout attribute is fixed.
MaxTimeAttribute, RepeatAttribute, RetryAttribute, ThrowsConstraint, and DelayedConstraint are not resolved.
(I confirmed that Task.Delay is an issue with the WebGL player and not a test issue) -
nowsprinting
Mar 27, 2024 21:22
"Found in 1.1.33" and "Fixed in 1.3.0", but async test was added in 1.3.0.
According to the changelog, are the following items in 1.3.4 not applicable?> Fixed multiple issues where tests would not time out, when running longer than the default timeout or the timeout defined in a TimeoutAttribute (DSTR-607).
-
RGV
Mar 28, 2023 08:05
Thanks on the report! I think many of us have suffered of it.
This is annoying and very confusing set of actual results when reviewing last day nightlies on CI/CD servers.
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
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
Resolution Note (fix version 1.4.5):
- Fixed an issue where some nunit attributes would cause the test run to give errors and stop on async tests.
- Added support for the MaxTime attribute on async and UnityTest methods.