File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
tests/integration-tests/helix-payload Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ variables:
2121 - name : _HelixAccessToken
2222 value : ' '
2323
24- # PR trigger only
24+ # PR trigger only
2525pr :
2626 branches :
2727 include :
@@ -186,7 +186,7 @@ stages:
186186 steps :
187187 - download : current
188188 artifact : Microsoft.DotNet.XHarness.CLI.OSX.IntegrationTests.Debug
189-
189+
190190 - template : /eng/common/templates/steps/send-to-helix.yml
191191 parameters :
192192 DisplayNamePrefix : Run Tests
@@ -198,12 +198,13 @@ stages:
198198 WaitForWorkItemCompletion : true
199199 HelixTargetQueues : osx.1015.amd64.ios.open
200200 Creator : xharness
201+ EnableXUnitReporter : true
201202 WorkItemDirectory : $(Pipeline.Workspace)/Microsoft.DotNet.XHarness.CLI.OSX.IntegrationTests.Debug
202203 WorkItemCommand : sudo launchctl asuser `id -u` sh osx-helix-payload.sh $HELIX_WORKITEM_UPLOAD_ROOT
203204 WorkItemTimeout : 00:12:00
204205 env :
205206 SYSTEM_ACCESSTOKEN : $(System.AccessToken)
206- HelixAccessToken : ' '
207+ HelixAccessToken : ' '
207208
208209- ${{ if eq(variables._RunAsInternal, True) }} :
209210 - template : eng\common\templates\post-build\post-build.yml
Original file line number Diff line number Diff line change @@ -38,8 +38,10 @@ dotnet tool install --no-cache --version $version --add-source .. Microsoft.DotN
3838export XHARNESS_DISABLE_COLORED_OUTPUT=true
3939export XHARNESS_LOG_WITH_TIMESTAMPS=true
4040
41- # We have to call this otherwise mlaunch fails to spawn it properly
41+ # Restart the simulator to make sure it is tied to the right user session
4242xcode_path=` xcode-select -p`
43+ pid=` ps aux | grep $xcode_path /Applications/Simulator.app | grep -v grep | tr -s ' ' | cut -d ' ' -f 2`
44+ sudo kill $pid
4345open -a $xcode_path /Applications/Simulator.app
4446
4547dotnet tool restore --no-cache
You can’t perform that action at this time.
0 commit comments