File tree Expand file tree Collapse file tree
test/NuGet.Tests.Apex/NuGet.Tests.Apex/NuGetEndToEndTests Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 Properties =" RunName=NuGet.Tests.Apex;
2121 FileName=NuGet.Tests.Apex.dll;" />
2222
23+ <!-- NuGet.Tests.Apex.Gate.runsettings (VS test gate - runs only [TestCategory("Gate")] tests) -->
24+ <MSBuild
25+ Projects =" template.runsettingsproj"
26+ Properties =" RunName=NuGet.Tests.Apex.Gate;
27+ FileName=NuGet.Tests.Apex.dll;
28+ TestCaseFilter=TestCategory=Gate;" />
29+
2330 <!-- NuGet.Tests.Apex.Daily.runsettings -->
2431 <MSBuild
2532 Projects =" template.runsettingsproj"
Original file line number Diff line number Diff line change @@ -225,6 +225,11 @@ steps:
225225 Write-Host "##vso[task.setvariable variable=RunSettingsDrop]$runSettingsDrop"
226226 Write-Host "##vso[task.setvariable variable=RunSettingsDrop;isOutput=true]$runSettingsDrop"
227227
228+ # Test gate drop — mirrors the product drop path with Tests/ prefix so the VS gate can find it by NuGet version
229+ $testsDrop = "${env:MicroBuild_ManifestDropName}" -replace '^Products/', 'Tests/'
230+ Write-Host "Tests Drop: $testsDrop"
231+ Write-Host "##vso[task.setvariable variable=TestsDrop]$testsDrop"
232+
228233 $vsBootstrapperBranch = dotnet msbuild -getProperty:VsTargetBranch build\config.props
229234 Write-Host "VS Bootstrapper Branch: $vsBootstrapperBranch"
230235 Write-Host "##vso[task.setvariable variable=VsBootstrapperBranch;isOutput=true]$vsBootstrapperBranch"
@@ -306,6 +311,16 @@ steps:
306311 usePat : true
307312 dropMetadataContainerName : " DropMetadata-RunSettings"
308313
314+ - task : artifactDropTask@0
315+ displayName : " Publish test gate drop"
316+ inputs :
317+ dropServiceURI : " https://devdiv.artifacts.visualstudio.com"
318+ buildNumber : " $(TestsDrop)"
319+ sourcePath : ' $(Build.StagingDirectory)\RunSettings'
320+ toLowerCase : false
321+ usePat : true
322+ dropMetadataContainerName : " DropMetadata-TestGate"
323+
309324 - task : PublishPipelineArtifact@1
310325 displayName : " Publish E2E tests"
311326 inputs :
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ public class IVsServicesTestCase : SharedVisualStudioHostTestClass
2525
2626 [ TestMethod ]
2727 [ Timeout ( LongerTimeout ) ]
28+ [ TestCategory ( "Gate" ) ]
2829 public void SimpleInstallFromIVsInstaller ( )
2930 {
3031 // Arrange
You can’t perform that action at this time.
0 commit comments