Commit 29635e1
[6.0] Stabilize CI Pipelines (#3596)
* User Story 38467: Backport mac server name fix
- Backported part of #3494 and all of #3591:
- Added configurable test jobs timeout, defaulting to 90 minutes.
- Reduced generated database names to 96 chars to try to fix macOS test failures.Increase test jobs timeout (#3591)
- Fixed the unique name generators to:
- Keep max lengths to 30 and 96 characters respectively.
- Ensure uniqueness at the start of the names.
- Added link to database identifier syntax.
* User Story 38467: Backport mac server name fix
- Added a new test that was erroneously removed in the earlier cherry-pick.
- Added MDS_TEST_CONFIG environment variable to unit test config to override where the confi.json file is read from.
- Updated xUnit to 2.9.3 to avoid transitive System.Net.Http vulnerability warnings.
* Add retry on deadlock for sp_help (#3025)
Add parameter to sp_help
* User Story 38467: Backport mac server name fix
- Fixed cherry-pick of old function name.
* User Story 38467: Backport mac server name fix
- Removed macOS Azure SQL test configuration that uses service principal based auth that our Azure tenant no longer supports.
* User Story 38467: Backport mac server name fix
- Adding console diagnostics to slow enclave tests.
* User Story 38467: Backport mac server name fix
- Adding console diagnostics to slow enclave tests.
* User Story 38467: Backport mac server name fix
- Adding console diagnostics to slow enclave tests.
* Tests | Remove hardcoded credentials from ManualTests (#3204)
* Initial removal of CertificateUtility.CreateCertificate
One test implied that DataTestUtility.AKVUrl would point to an RSA key which aligned with the certificate's private key. Switching this to dynamically generate the key in places.
* Hotfix for Azure Key Vault tests
* Removed hardcoded references to Azure Key Vault key
* Removed hardcoded references to CertificateUtilityWin
These were mostly related to generating CSP keys.
* Code review changes
* Reorder properties and constructors
* Move AEConnectionStringProviderWithCspParameters to its own file
* Tweak to the AKV token acquisition
* Code review
Redundant bracket, alphabetised the ManualTesting csproj
* Update src/Microsoft.Data.SqlClient/tests/ManualTests/AlwaysEncrypted/TestFixtures/SQLSetupStrategy.cs
Let's try @edwardneal's idea
Co-authored-by: Edward Neal <55035479+edwardneal@users.noreply.github.com>
* Update src/Microsoft.Data.SqlClient/tests/ManualTests/AlwaysEncrypted/TestFixtures/SQLSetupStrategy.cs
Co-authored-by: Edward Neal <55035479+edwardneal@users.noreply.github.com>
* Fixes as per @edwardneal's suggestions
* Fix as per @edwardneal's suggestion
* Fix missing `new`
Co-authored-by: Edward Neal <55035479+edwardneal@users.noreply.github.com>
* Update src/Microsoft.Data.SqlClient/tests/ManualTests/AlwaysEncrypted/TestFixtures/SQLSetupStrategyAzureKeyVault.cs
Co-authored-by: Edward Neal <55035479+edwardneal@users.noreply.github.com>
* Update src/Microsoft.Data.SqlClient/tests/ManualTests/AlwaysEncrypted/TestFixtures/SQLSetupStrategyAzureKeyVault.cs
Co-authored-by: Edward Neal <55035479+edwardneal@users.noreply.github.com>
* Address comment that we don't need a CspParameters object as part of the test arguments
* Move test arguments into property (the class was only used in a single location)
* Cleanup test code
* Tweak default provider discovery code to handle edge cases a bit better
* Address comment regarding readonly member variables
Apply long line chomping
* Addressing the last of the comments.
---------
Co-authored-by: Edward Neal <55035479+edwardneal@users.noreply.github.com>
* - Fixed incorrect unique database object name function that doesn't compile normally.
* Updated TestUtilities project to target the same framework as the test project(s) it is compiling with.
* Removed diagnostic logging now that Enclave tests are passing.
---------
Co-authored-by: Michel Zehnder <MichelZ@users.noreply.github.com>
Co-authored-by: Benjamin Russell <russellben@microsoft.com>
Co-authored-by: Edward Neal <55035479+edwardneal@users.noreply.github.com>1 parent c12134a commit 29635e1
File tree
61 files changed
+1256
-894
lines changed- eng/pipelines
- common/templates
- jobs
- stages
- src/Microsoft.Data.SqlClient/tests
- ManualTests
- AlwaysEncrypted
- TestFixtures
- Setup
- DataCommon
- ProviderAgnostic/ReaderTest
- SQL
- AdapterTest
- Batch
- ConnectivityTests
- DataClassificationTest
- DataReaderTest
- DataStreamTest
- JsonTest
- ParameterTest
- RetryLogic
- SqlBulkCopyTest
- SqlCommand
- SqlFileStreamTest
- UdtTest
- Utf8SupportTest
- tools/Microsoft.Data.SqlClient.TestUtilities
- Fixtures
- tools/props
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
61 files changed
+1256
-894
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
76 | 81 | | |
77 | 82 | | |
78 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
79 | 88 | | |
80 | 89 | | |
81 | 90 | | |
| |||
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
23 | 28 | | |
24 | 29 | | |
25 | 30 | | |
26 | 31 | | |
27 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
28 | 38 | | |
29 | 39 | | |
30 | 40 | | |
| |||
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
33 | 38 | | |
34 | 39 | | |
35 | 40 | | |
| |||
47 | 52 | | |
48 | 53 | | |
49 | 54 | | |
| 55 | + | |
50 | 56 | | |
51 | 57 | | |
52 | 58 | | |
| |||
72 | 78 | | |
73 | 79 | | |
74 | 80 | | |
| 81 | + | |
75 | 82 | | |
76 | 83 | | |
77 | 84 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
60 | 65 | | |
61 | 66 | | |
62 | 67 | | |
| |||
78 | 83 | | |
79 | 84 | | |
80 | 85 | | |
| 86 | + | |
81 | 87 | | |
82 | 88 | | |
83 | 89 | | |
| |||
459 | 465 | | |
460 | 466 | | |
461 | 467 | | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | | - | |
466 | | - | |
467 | | - | |
468 | | - | |
469 | | - | |
470 | | - | |
471 | | - | |
472 | | - | |
473 | | - | |
474 | | - | |
475 | | - | |
476 | | - | |
477 | | - | |
478 | | - | |
479 | | - | |
480 | | - | |
481 | | - | |
482 | | - | |
483 | | - | |
484 | | - | |
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
84 | 90 | | |
85 | 91 | | |
86 | 92 | | |
| |||
92 | 98 | | |
93 | 99 | | |
94 | 100 | | |
| 101 | + | |
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
76 | 82 | | |
77 | 83 | | |
78 | 84 | | |
| |||
84 | 90 | | |
85 | 91 | | |
86 | 92 | | |
| 93 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
70 | 76 | | |
71 | 77 | | |
72 | 78 | | |
| |||
175 | 181 | | |
176 | 182 | | |
177 | 183 | | |
| 184 | + | |
178 | 185 | | |
179 | 186 | | |
180 | 187 | | |
| |||
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
| 136 | + | |
137 | 137 | | |
138 | | - | |
139 | | - | |
| 138 | + | |
| 139 | + | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
144 | | - | |
| 143 | + | |
| 144 | + | |
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| |||
0 commit comments