@@ -112,8 +112,8 @@ jobs:
112112 image : ' mysql:8.0'
113113 connectionString : ' server=localhost;port=3306;user id=mysqltest;password=test;database=conformance;ssl mode=none;DefaultCommandTimeout=3600;AllowPublicKeyRetrieval=True'
114114
115- - job : windows_integration_tests
116- displayName : ' Windows Integration Tests'
115+ - job : windows_integration_tests_1
116+ displayName : ' Windows Integration Tests (Part 1) '
117117 pool :
118118 vmimage : ' windows-latest'
119119 steps :
@@ -133,23 +133,23 @@ jobs:
133133 contents : ' config.json'
134134 targetFolder : ' tests/SideBySide'
135135 - task : PowerShell@2
136- displayName : ' Remove .NET 4.5.2 and .NET Core 1.1.2 targets '
136+ displayName : ' Remove target frameworks '
137137 inputs :
138138 targetType : ' inline'
139- script : ' (Get-Content .\tests\SideBySide\SideBySide.csproj -Raw).replace( '' net452; '' , '''' ). replace('' netcoreapp1.1.2; '' , '''' ) | Set-Content .\tests\SideBySide\SideBySide.csproj'
139+ script : ' (( Get-Content .\tests\SideBySide\SideBySide.csproj -Raw) - replace('' <TargetFrameworks>.*</TargetFrameworks> '' , '' <TargetFrameworks>net472;netcoreapp2.0</TargetFrameworks> '' ) ) | Set-Content .\tests\SideBySide\SideBySide.csproj'
140140 - task : DotNetCoreCLI@2
141- displayName : ' Side by Side tests'
141+ displayName : ' Side by Side tests (net472/netcoreapp2.0) '
142142 inputs :
143143 command : ' test'
144144 projects : ' tests/SideBySide/SideBySide.csproj'
145145 arguments : ' -c Release'
146- testRunTitle : ${{ format('{0}, $(Agent.OS), {1}, {2}', 'mysql:8.0', 'all ', 'No SSL') }}
146+ testRunTitle : ${{ format('{0}, $(Agent.OS), {1}, {2}', 'mysql:8.0', 'net472/netcoreapp2.0 ', 'No SSL') }}
147147 env :
148148 DATA__UNSUPPORTEDFEATURES : ' Ed25519,Tls11,UnixDomainSocket'
149149 DATA__CONNECTIONSTRING : ' server=localhost;port=3306;user id=mysqltest;password=test;database=mysqltest;ssl mode=none;DefaultCommandTimeout=3600;AllowPublicKeyRetrieval=True;UseCompression=True'
150150
151- - job : windows_integration_tests_compression
152- displayName : ' Windows Integration Tests (Compression )'
151+ - job : windows_integration_tests_2
152+ displayName : ' Windows Integration Tests (Part 2 )'
153153 pool :
154154 vmimage : ' windows-latest'
155155 steps :
@@ -162,23 +162,23 @@ jobs:
162162 displayName : ' Install .NET Core'
163163 inputs :
164164 version : $(DotNetCoreSdkVersion)
165- - script : copy .ci\config\config.compression. json tests\SideBySide\config.json
165+ - script : copy .ci\config\config.json tests\SideBySide\config.json
166166 displayName : ' Copy config.json'
167167 - task : PowerShell@2
168- displayName : ' Remove .NET 4.5.2 and .NET Core 1.1.2 targets '
168+ displayName : ' Remove target frameworks '
169169 inputs :
170170 targetType : ' inline'
171- script : ' (Get-Content .\tests\SideBySide\SideBySide.csproj -Raw). replace('' net452; '' , '''' ).replace( '' netcoreapp1.1.2; '' , '''' ) | Set-Content .\tests\SideBySide\SideBySide.csproj'
171+ script : ' (( Get-Content .\tests\SideBySide\SideBySide.csproj -Raw) - replace('' <TargetFrameworks>.*</TargetFrameworks> '' , '' <TargetFrameworks>netcoreapp2.1;netcoreapp3.0</TargetFrameworks> '' ) ) | Set-Content .\tests\SideBySide\SideBySide.csproj'
172172 - task : DotNetCoreCLI@2
173- displayName : ' Side by Side tests'
173+ displayName : ' Side by Side tests (netcoreapp2.1/netcoreapp3.0) '
174174 inputs :
175175 command : ' test'
176176 projects : ' tests/SideBySide/SideBySide.csproj'
177- arguments : ' -c Release'
178- testRunTitle : ${{ format('{0}, $(Agent.OS), {1}, {2}', 'mysql:8.0', 'all ', 'No SSL, Compression ') }}
177+ arguments : ' -c Release -f netcoreapp2.1 '
178+ testRunTitle : ${{ format('{0}, $(Agent.OS), {1}, {2}', 'mysql:8.0', 'netcoreapp2.1/netcoreapp3.0 ', 'No SSL') }}
179179 env :
180180 DATA__UNSUPPORTEDFEATURES : ' Ed25519,Tls11,UnixDomainSocket'
181- DATA__CONNECTIONSTRING : ' server=localhost;port=3306;user id=mysqltest;password=test;database=mysqltest;ssl mode=none;DefaultCommandTimeout=3600;AllowPublicKeyRetrieval=True;UseCompression=True '
181+ DATA__CONNECTIONSTRING : ' server=localhost;port=3306;user id=mysqltest;password=test;database=mysqltest;ssl mode=none;DefaultCommandTimeout=3600;AllowPublicKeyRetrieval=True'
182182
183183- job : linux_integration_tests
184184 dependsOn : linux_build
0 commit comments