Search Issue Tracker

Fixed

Fixed in 1.3.0

Votes

10

Found in [Package]

1.1.33

Issue ID

DSTR-862

Regression

No

Attributes are not working when used with the async test in the Test Runner

Package: Test-Framework

-

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)

  1. Resolution Note (fix version 1.3.0):

    Fixed in: 1.3.0

Comments (1)

  1. 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

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.