don't set poison tests env var

This commit is contained in:
MilenaHristova 2023-03-02 15:43:22 +01:00
parent 0d4afa4dc4
commit e944fdc2de
2 changed files with 1 additions and 15 deletions

View file

@ -25,7 +25,6 @@ jobs:
buildName: CentOSStream8_Offline
targetRid: centos.8-x64
architecture: x64
enablePoison: false
dotnetDotnetRunID: ${{ parameters.dotnetDotnetRunID }}
- template: templates/jobs/sdk-comparison-tests.yml
@ -33,7 +32,6 @@ jobs:
buildName: CentOSStream9_Offline
targetRid: centos.9-x64
architecture: x64
enablePoison: false
dotnetDotnetRunID: ${{ parameters.dotnetDotnetRunID }}
- template: templates/jobs/sdk-comparison-tests.yml
@ -41,7 +39,6 @@ jobs:
buildName: Fedora36_Offline
targetRid: fedora.36-x64
architecture: x64
enablePoison: true
dotnetDotnetRunID: ${{ parameters.dotnetDotnetRunID }}
- template: templates/jobs/sdk-comparison-tests.yml
@ -49,7 +46,6 @@ jobs:
buildName: Ubuntu2004_Offline
targetRid: ubuntu.2004-x64
architecture: x64
enablePoison: false
dotnetDotnetRunID: ${{ parameters.dotnetDotnetRunID }}
- template: templates/jobs/sdk-comparison-tests.yml
@ -57,5 +53,4 @@ jobs:
buildName: Debian11_Offline
targetRid: debian.11-arm64
architecture: arm64
enablePoison: false
dotnetDotnetRunID: ${{ parameters.dotnetDotnetRunID }}

View file

@ -8,9 +8,6 @@ parameters:
- name: architecture
type: string
- name: enablePoison
type: boolean
- name: dotnetDotnetRunID
type: string
@ -106,13 +103,7 @@ jobs:
envArgs+=" -e SMOKE_TESTS_SDK_TARBALL_PATH=$(Pipeline.Workspace)/Artifacts/$sdkTarballName"
envArgs+=" -e SMOKE_TESTS_SOURCEBUILT_ARTIFACTS_PATH= "
envArgs+=" -e SMOKE_TESTS_EXCLUDE_OMNISHARP=true -e SMOKE_TESTS_WARN_SDK_CONTENT_DIFFS=true -e SMOKE_TESTS_RUNNING_IN_CI=true -e SMOKE_TESTS_TARGET_RID=${{ parameters.targetRid }} -e SMOKE_TESTS_PORTABLE_RID=linux-x64 -e SMOKE_TESTS_CUSTOM_PACKAGES_PATH= -e SMOKE_TESTS_INCLUDE=CompareMsftToSb"
poisonArg=''
if [[ '${{ parameters.enablePoison }}' == 'True' ]]; then
poisonArg='--poison'
dockerEnvArgs+=" -e SMOKE_TESTS_WARN_POISON_DIFFS=true"
fi
.dotnet/dotnet test $(Build.SourcesDirectory)/src/SourceBuild/content/test/Microsoft.DotNet.SourceBuild.SmokeTests/Microsoft.DotNet.SourceBuild.SmokeTests.csproj $envArgs --logger:'trx;LogFileName=$(Agent.JobName)_SDKComparisonTests.trx' --logger:'console;verbosity=detailed'
displayName: Run Tests
workingDirectory: $(Build.SourcesDirectory)