diff --git a/build/scripts/android-uitest-run.sh b/build/scripts/android-uitest-run.sh index db6388f73..947aa4c7e 100644 --- a/build/scripts/android-uitest-run.sh +++ b/build/scripts/android-uitest-run.sh @@ -75,3 +75,6 @@ dotnet test \ --blame-hang-timeout $UITEST_TEST_TIMEOUT \ -v m \ || true + +## Dump the emulator's system log +$ANDROID_HOME/platform-tools/adb shell logcat -d > $BUILD_ARTIFACTSTAGINGDIRECTORY/android-device-log.txt diff --git a/build/stage-uitests-android.yml b/build/stage-uitests-android.yml index e9eebb928..c807855c8 100644 --- a/build/stage-uitests-android.yml +++ b/build/stage-uitests-android.yml @@ -1,7 +1,7 @@ jobs: - job: Android_Tests_Build displayName: 'Android UI Tests' - timeoutInMinutes: 60 + timeoutInMinutes: 90 variables: CI_Build: true SourceLinkEnabled: false @@ -16,6 +16,13 @@ - template: templates/dotnet-install-mac.yml - template: templates/canary-updater.yml + - task: PowerShell@2 + displayName: 'Install coreutils' + inputs: + targetType: inline + script: | + brew install coreutils + - bash: | chmod +x $(build.sourcesdirectory)/build/scripts/android-uitest-build.sh $(build.sourcesdirectory)/build/scripts/android-uitest-build.sh