Update NUnit3TestAdapter version to 4.0.0-beta.2#21284
Update NUnit3TestAdapter version to 4.0.0-beta.2#21284Mohit-Chakraborty wants to merge 3 commits intomainfrom
Conversation
|
/azp run net - search - tests |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run net - search - tests |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run net - search - tests |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
@mikeharder - I ran the live search tests and they passed. I think the change to update the NUnit test adapter has helped. |
|
/azp run net - core - tests |
|
/azp run net - storage - tests |
|
Azure Pipelines successfully started running 1 pipeline(s). |
1 similar comment
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
@Mohit-Chakraborty: I triggered runs of core and storage tests, if these pass I think this is safe enough to merge. If we find any failures after merge we can investigate. |
|
Any particular reason to get the update especially a beta? We should compare test counts before/after. |
|
@pakrym: The latest RTM version is crashing with OOM per this issue: #20509. I don't think @Mohit-Chakraborty has been able to repro locally, so we're not sure exactly what's causing it. But I suspect it's an issue in NUnit3TestAdapter, so I suggested we try the latest version and it does seem to fix the OOM. If you would rather not use a Beta, we could test GA versions older than 3.17.0 to see if any of them fix the OOM as well. |
|
As far as I know, 4.0.0-* is a major rewrite of NUnit. I'm not strictly against it but think we should be careful taking it. Doesn't |
|
Yep, use this test to repro the error message. This might be an actual test/product bug. using System;
using System.Threading;
using NUnit.Framework;
using System.Collections.Generic;
namespace ooomunit
{
public class Tests
{
[Test]
public void Test1()
{
ThreadPool.QueueUserWorkItem(_ =>
{
List<byte[]> b = new();
while (true)
{
b.Add(new byte[100000000]);
}
}
);
Thread.Sleep(1000000);
}
}
} |
|
I would also look into the |
| <PackageReference Update="NSubstitute" Version="3.1.0" /> | ||
| <PackageReference Update="NUnit" Version="3.13.2" /> | ||
| <PackageReference Update="NUnit3TestAdapter" Version="3.17.0" /> | ||
| <PackageReference Update="NUnit3TestAdapter" Version="4.0.0-beta.2" /> |
There was a problem hiding this comment.
Similar to @pakrym's feedback I would like to avoid taking a dependency on a prerelease if it can be helped.
|
I agree we need to step back and understand what is happening here. If this is indeed a test or product bug causing OOM, then why doesn't it repro with the newer |
Maybe some changes in test ordering/parallelization? I think adding an ability (or learning a way) to collect test crash dumps is a great exercise in general. |
[Workloads - Sap Virtual Instance] (Azure#21284) -Adds SAP software detection feature on a VIS -Changes were already checked-in to private repo in the PR: Azure/azure-rest-api-specs-pr#8871 The changes were verified. This commit just ports the same to the public repo.
No description provided.