<PackageReference Include="nunit" Version="2.5.10.11092" />

TimeoutAttribute

WUsed on a method, marks the test with a timeout value in milliseconds. The test will be run in a separate thread and is cancelled if the timeout is exceeded. Used on a method or assembly, sets the default timeout for all contained test methods.
public TimeoutAttribute(int timeout)

Construct a TimeoutAttribute given a time in milliseconds