Vijay
Vijay
Hey, Any update on this functionality? Thanks!
It's a retry method encouraged by MS: https://learn.microsoft.com/en-us/dotnet/core/resilience/?tabs=dotnet-cli The short version is that it creates a cyclic stack trace when it throws multiple exceptions (the pipeline retries fail).
I span up a PR to try to resolve the issue, I *think* I found the source (json serialization), but I'm not certain is I'm very new to this project:...
Ah, you're right, my test isn't an RPC test. I'll cancel the PR, though you might want to consider adding that in later to ensure correct serialization when types are...
The smallest toy example I can make quickly is without a pipeline: ``` [Test] public void WhenThrowing_CyclicalException_TestShouldFinish2() { // Arrange var exceptionA = new Exception("Exception A"); var exceptionB = new...
Just in case it's relevant, here is the csproj file used when I made that test: ``` net8.0 enable enable false true REDACTED.$(AssemblyName) REDACTED.$(MSBuildProjectName.Replace(" ", "_")) $(MSBuildProjectName.Replace(" ", "_")) ```
I embedded the test in TUnit.TestProject, I can break on all the pre test running lines, but as soon as the exception is thrown it vanishes into the ether. I'm...
[Confirmed to exist in the latest version of MSTest](https://github.com/microsoft/testfx/issues/3971), so it seems as though it's an underlying issue.
Fingers crossed! It's killing my commit tests atm, I just swapped to TUnit and the new platform. Now do decorate all of my tests with timeouts...
So it turns out that the `Timeout(TIME_IN_MS)` attribute doesn't have a force stop, it's literally just the `CancellationToken`. I think this means I have to leave my test swap over...