Property Timeout
- Namespace
- Xunit
- Assembly
- xunit.v3.core.aot.dll
Timeout
A value greater than zero marks the test as having a timeout, and gets or sets the timeout (in milliseconds). A non-null value here overrides any inherited value from the Xunit.v3.IDataAttribute or the Xunit.v3.ITheoryAttribute.
int? Timeout { get; }
Property Value
- int?
Remarks
WARNING: Using this with parallelization turned on will result in undefined behavior. Timeout is only supported when parallelization is disabled, either globally or with a parallelization-disabled test collection.