Commit 1286cfe
[5.1] Stabilize CI Pipelines (#3599)
* User Story 38467: Backport mac server name fix
- Backported part of #3494 and #3591:
- Added configurable test jobs timeout, defaulting to 90 minutes.
- Reduced generated database names to 96 chars to try to fix macOS test failures.
* User Story 38481: Fix unique db object name issues
- 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 38481: Fix unique db object name issues
- Removed DateOnly tests that aren't supported on 5.1.
* Add CodeQL suppression for DefaultAzureCredential use in Production (#3542)
- Adjusted CodeQL suppression to meet the strict requirements of where it may appear relative to the flagged code.
- Adding catch for macOS socket error to log and ignore.
* - Added back some blocks that were removed by cherry-picks.
- Added console diagnostics to see when Enclave tables are dropped.
* - Fixed typo in code that only gets compiled when building on Windows (eek!)
* 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>
* Update test utilities target frameworks. Fix compilation issues.
* Construct valid X500 distinguished name.
* Print rsa key type for debugging.
* Clean up net version ifdefs to fix certificate exportability.
---------
Co-authored-by: Benjamin Russell <russellben@microsoft.com>
Co-authored-by: Edward Neal <55035479+edwardneal@users.noreply.github.com>
Co-authored-by: Malcolm Daigle <mdaigle@microsoft.com>1 parent ee2d196 commit 1286cfe
File tree
53 files changed
+1150
-849
lines changed- eng/pipelines
- common/templates/jobs
- src/Microsoft.Data.SqlClient
- netcore/src/Microsoft/Data/SqlClient/SNI
- src/Microsoft/Data/SqlClient
- tests
- ManualTests
- AlwaysEncrypted
- TestFixtures
- Setup
- DataCommon
- ProviderAgnostic/ReaderTest
- SQL
- AdapterTest
- ConnectivityTests
- DataClassificationTest
- DataReaderTest
- DataStreamTest
- 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.
53 files changed
+1150
-849
lines changedLines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
20 | 25 | | |
21 | 26 | | |
22 | 27 | | |
23 | 28 | | |
24 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
25 | 35 | | |
26 | 36 | | |
27 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
68 | 74 | | |
69 | 75 | | |
70 | 76 | | |
| |||
172 | 178 | | |
173 | 179 | | |
174 | 180 | | |
| 181 | + | |
175 | 182 | | |
176 | 183 | | |
177 | 184 | | |
| |||
Lines changed: 24 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
851 | 851 | | |
852 | 852 | | |
853 | 853 | | |
854 | | - | |
855 | | - | |
856 | | - | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
857 | 878 | | |
858 | 879 | | |
859 | 880 | | |
| |||
src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/ActiveDirectoryAuthenticationProvider.cs
Lines changed: 22 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
587 | 587 | | |
588 | 588 | | |
589 | 589 | | |
590 | | - | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
591 | 612 | | |
592 | 613 | | |
593 | 614 | | |
| |||
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | | - | |
68 | | - | |
| 67 | + | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
73 | | - | |
| 72 | + | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
0 commit comments