From f0356db3fd9feee38f9c9243730d26c6db05911f Mon Sep 17 00:00:00 2001 From: Steve Lee Date: Mon, 25 Mar 2024 17:05:53 -0700 Subject: [PATCH] Enable debug traces for `Test-Connection -MtuSize` test --- .../Microsoft.PowerShell.Management/Test-Connection.Tests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/powershell/Modules/Microsoft.PowerShell.Management/Test-Connection.Tests.ps1 b/test/powershell/Modules/Microsoft.PowerShell.Management/Test-Connection.Tests.ps1 index c7584293422d..73a8a5da64fa 100644 --- a/test/powershell/Modules/Microsoft.PowerShell.Management/Test-Connection.Tests.ps1 +++ b/test/powershell/Modules/Microsoft.PowerShell.Management/Test-Connection.Tests.ps1 @@ -271,7 +271,7 @@ Describe "Test-Connection" -tags "CI", "RequireSudoOnUnix" { return } - $result = Test-Connection $testAddress -MtuSize + $result = Test-Connection $testAddress -MtuSize -Debug $result | Should -BeOfType Microsoft.PowerShell.Commands.TestConnectionCommand+PingMtuStatus $result.Destination | Should -BeExactly $testAddress