Skip to content

Commit 2b98c50

Browse files
authored
Excluded tests that should not be included in virtualized test pipeline (#30307)
1 parent c8134e5 commit 2b98c50

File tree

4 files changed

+12
-6
lines changed

4 files changed

+12
-6
lines changed

eng/pipelines/templates/jobs/ci.tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ jobs:
6363
- template: /eng/pipelines/templates/steps/install-dotnet.yml
6464
parameters:
6565
NuGetCacheKey: Test
66-
- script: >-
66+
- pwsh: >-
6767
dotnet test eng/service.proj
68-
--filter "(TestCategory!=Manually) & (TestCategory!=Live) & ($(AdditionalTestFilters))"
68+
--filter '(TestCategory!=Manually) & (TestCategory!=Live) & ($(AdditionalTestFilters))'
6969
--framework $(TestTargetFramework)
70-
--logger "trx;LogFileName=$(TestTargetFramework).trx" --logger:"console;verbosity=normal"
70+
--logger 'trx;LogFileName=$(TestTargetFramework).trx' --logger:'console;verbosity=normal'
7171
--blame-crash-dump-type full --blame-hang-dump-type full --blame-hang-timeout ${{parameters.TestTimeoutInMinutes}}minutes
7272
/p:SDKType=${{ parameters.SDKType }}
7373
/p:ServiceDirectory=${{ parameters.ServiceToTest }}

eng/pipelines/templates/jobs/live.tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ jobs:
123123
- pwsh: >
124124
dotnet test eng/service.proj
125125
--framework $(TestTargetFramework)
126-
--filter "TestCategory!=Manually & ($(AdditionalTestFilters))"
127-
--logger "trx"
126+
--filter 'TestCategory!=Manually & ($(AdditionalTestFilters))'
127+
--logger 'trx'
128128
--logger:"console;verbosity=normal"
129129
--blame-crash-dump-type full --blame-hang-dump-type full --blame-hang-timeout ${{parameters.TimeoutInMinutes}}minutes
130130
/p:SDKType=${{ parameters.SDKType }}

sdk/storage/platform-matrix-virtualized.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@
1515
],
1616
"BuildConfiguration": [
1717
"Debug"
18-
]
18+
],
19+
"TestFilterConfig": {
20+
"ExcludeNonVirtualized": {
21+
"AdditionalTestFilters": "FullyQualifiedName!~WebJobs"
22+
}
23+
}
1924
}
2025
}

sdk/storage/tests.virtualized.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ extends:
44
template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml
55
parameters:
66
ServiceDirectory: storage
7+
TimeoutInMinutes: 180
78
MatrixReplace:
89
# Use dedicated storage pool in canadacentral with higher memory capacity
910
- Pool=(.*)-general/$1-storage

0 commit comments

Comments
 (0)