-
Notifications
You must be signed in to change notification settings - Fork 340
Reduce Azure SQL test scope in PR pipelines #4609
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -120,6 +120,8 @@ stages: | |
| targetFramework: ${{ targetFramework }} | ||
| netcoreVersionTestUtils: ${{config.value.netcoreVersionTestUtils }} | ||
| testSet: ${{ testSet }} | ||
| manualTestFilters: ${{ coalesce(config.value.manualTestFilters, 'category!=failing&category!=flaky&category!=interactive') }} | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This duplicates the defaults from our C# project files. Should we add a target to |
||
| flakyManualTestFilters: ${{ coalesce(config.value.flakyManualTestFilters, 'category=flaky') }} | ||
| configSqlFor: ${{ config.value.configSqlFor }} | ||
| operatingSystem: ${{ config.value.operatingSystem }} | ||
| saPassword: $(saPassword) | ||
|
|
@@ -155,6 +157,8 @@ stages: | |
| targetFramework: ${{ targetFramework }} | ||
| netcoreVersionTestUtils: ${{config.value.netcoreVersionTestUtils }} | ||
| testSet: ${{ testSet }} | ||
| manualTestFilters: ${{ coalesce(config.value.manualTestFilters, 'category!=failing&category!=flaky&category!=interactive') }} | ||
| flakyManualTestFilters: ${{ coalesce(config.value.flakyManualTestFilters, 'category=flaky') }} | ||
| configSqlFor: ${{ config.value.configSqlFor }} | ||
| operatingSystem: ${{ config.value.operatingSystem }} | ||
| saPassword: $(saPassword) | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| ################################################################################# | ||
| # Licensed to the .NET Foundation under one or more agreements. # | ||
| # The .NET Foundation licenses this file to you under the MIT license. # | ||
| # See the LICENSE file in the project root for more information. # | ||
| ################################################################################# | ||
|
|
||
| variables: | ||
| # Keep Azure SQL PR coverage focused on the connectivity test group and the core BulkCopy suite. | ||
| # These tests all belong to manual test set 2. | ||
| - name: azureSqlConnectionAndBulkCopyTestsFilter | ||
| value: '(FullyQualifiedName~Microsoft.Data.SqlClient.ManualTests.BulkCopy|FullyQualifiedName~Microsoft.Data.SqlClient.ManualTesting.Tests.SqlBulkCopyTests|FullyQualifiedName~Microsoft.Data.SqlClient.ManualTesting.Tests.AADConnectionTest|FullyQualifiedName~Microsoft.Data.SqlClient.ManualTesting.Tests.ConnectionBehaviorTest|FullyQualifiedName~Microsoft.Data.SqlClient.ManualTesting.Tests.ConnectivityTest|FullyQualifiedName~Microsoft.Data.SqlClient.ManualTesting.Tests.TcpDefaultForAzureTest)&category!=failing&category!=flaky&category!=interactive' | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @David-Engel @cheenamalhotra - Does this filter cover everything we want to test relatedto Azure SQL for PRs?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Off hand, appears fine to me. |
||
|
|
||
| - name: azureSqlConnectionAndBulkCopyFlakyTestsFilter | ||
| value: '(FullyQualifiedName~Microsoft.Data.SqlClient.ManualTests.BulkCopy|FullyQualifiedName~Microsoft.Data.SqlClient.ManualTesting.Tests.SqlBulkCopyTests|FullyQualifiedName~Microsoft.Data.SqlClient.ManualTesting.Tests.AADConnectionTest|FullyQualifiedName~Microsoft.Data.SqlClient.ManualTesting.Tests.ConnectionBehaviorTest|FullyQualifiedName~Microsoft.Data.SqlClient.ManualTesting.Tests.ConnectivityTest|FullyQualifiedName~Microsoft.Data.SqlClient.ManualTesting.Tests.TcpDefaultForAzureTest)&category=flaky' | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We're trying to avoid parameter defaults, and pushing them up the template chain as high as possible. The
coalesce()s inci-run-tests-stageseem like the correct place to keep these values.