@@ -101,52 +101,6 @@ jobs:
101101 image : ' mysql:8.0'
102102 connectionString : ' server=localhost;port=3306;user id=mysqltest;password=test;database=conformance;ssl mode=none;DefaultCommandTimeout=3600;AllowPublicKeyRetrieval=True'
103103
104- - job : azure_mysql_integration_tests
105- condition : ne('True', variables['System.PullRequest.IsFork'])
106- displayName : ' Azure MySQL Integration Tests'
107- pool :
108- vmimage : ' windows-latest'
109- steps :
110- - task : PowerShell@2
111- displayName : Create Database
112- inputs :
113- targetType : inline
114- script : " mysql -u$(Azure MySQL Root User) -p$(Azure MySQL Root Password) -h '$(Azure MySQL Host)' -e 'create schema mysqltest_$(Build.BuildId) collate utf8mb4_0900_ai_ci;'"
115- - task : UseDotNet@2
116- displayName : ' Install .NET Core 6.0'
117- inputs :
118- version : 6.0.x
119- packageType : runtime
120- - task : UseDotNet@2
121- displayName : ' Install .NET Core'
122- inputs :
123- version : $(DotNetCoreSdkVersion)
124- - task : PowerShell@2
125- displayName : ' Copy Azure config'
126- inputs :
127- targetType : inline
128- script : Copy-Item -Path ".\.ci\config\config.ssl.json" -Destination ".\tests\IntegrationTests\config.json"
129- - task : DotNetCoreCLI@2
130- displayName : ' Restore packages'
131- inputs :
132- command : ' restore'
133- - task : DotNetCoreCLI@2
134- displayName : ' Integration tests (net6.0)'
135- inputs :
136- command : ' test'
137- projects : ' tests/IntegrationTests/IntegrationTests.csproj'
138- arguments : ' -c Release -f net6.0 --no-restore'
139- testRunTitle : ${{ format('{0}, $(Agent.OS), {1}, {2}', 'Azure', 'net6.0', 'SSL') }}
140- env :
141- DATA__UNSUPPORTEDFEATURES : ' CachingSha2Password,Ed25519,GlobalLog,KnownCertificateAuthority,QueryAttributes,RsaEncryption,Sha256Password,StreamingResults,Timeout,Tls11,Tls13,UnixDomainSocket,ZeroDateTime'
142- DATA__CONNECTIONSTRING : " $(AzureConnectionString);database=mysqltest_$(Build.BuildId);ssl mode=Required;DefaultCommandTimeout=3600;AllowPublicKeyRetrieval=True"
143- - task : PowerShell@2
144- displayName : Drop Database
145- condition : always()
146- inputs :
147- targetType : inline
148- script : " mysql -u$(Azure MySQL Root User) -p$(Azure MySQL Root Password) -h '$(Azure MySQL Host)' -e 'drop schema if exists mysqltest_$(Build.BuildId);'"
149-
150104- job : windows_integration_tests_1
151105 displayName : ' Windows Integration Tests (Part 1)'
152106 pool :
0 commit comments