Skip to content

Commit 3ae7409

Browse files
committed
Send warning message when disabling long running test detection and test timeouts
1 parent a05e9cb commit 3ae7409

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/xunit.runner.visualstudio/VsTestRunner.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,9 @@ async Task RunTests(
447447
{
448448
RemotingUtility.CleanUpRegisteredChannels();
449449

450+
if (Debugger.IsAttached)
451+
logger.LogWarning("{0}", "* Note: Long running test detection and test timeouts are disabled due to an attached debugger *");
452+
450453
cancelled = false;
451454

452455
var runInfos = getRunInfos();

0 commit comments

Comments
 (0)