PowerShell / PowerShellEditorServices

A common platform for PowerShell development support in any editor or application!
MIT License
633 stars 217 forks source link

Intermittent Appveyor failures with DebuggerStopsOnConditionalBreakpoints test #819

Open glennsarti opened 5 years ago

glennsarti commented 5 years ago

I'm receiving intermittent errors on Appveyor for

xUnit.net Console Runner (64-bit Desktop .NET 4.0.30319.42000)
  Discovering: Microsoft.PowerShell.EditorServices.Test
  Discovered:  Microsoft.PowerShell.EditorServices.Test
  Starting:    Microsoft.PowerShell.EditorServices.Test
    AsyncDebouncerFlushesAfterInterval [SKIP]
      TODO: This test fails in the new build system, need to investigate!
    AsyncDebouncerRestartsAfterInvoke [SKIP]
      TODO: This test fails in the new build system, need to investigate!
ERROR:     DebuggerStopsOnConditionalBreakpoints [FAIL]
At C:\projects\powershelleditorservices\PowerShellEditorServices.build.ps1:231 char:12
+     exec { & $script:dotnetExe xunit -configuration $Configuration -f ...
+            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
At C:\projects\powershelleditorservices\PowerShellEditorServices.build.ps1:228 char:1
+ task TestServer -If { !$script:IsUnix } {
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
At C:\projects\powershelleditorservices\PowerShellEditorServices.build.ps1:226 char:1
+ task Test TestServer,TestProtocol
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Task /./CITest

ref - https://ci.appveyor.com/project/PowerShell/powershelleditorservices/builds/20974403

Rekicking the appveyor job "fixes" the error but it's a bad experience as a contributor.

rjmholt commented 5 years ago

Yeah we had a go at fixing that test a while back, but couldn't get it to pass consistently. We talked about removing it, but don't want to lose testing for the debugger. I also did some work on the testing situation for the 2.0.0 branch -- we're investing in that working for now I think.