5

Running either a single/multiple android emulator's on azure pipeline has not been a smooth journey. When running an emulator the application to test runs very slowly causing the test framework to timeout.

After checking the emulator log I have found that the emulator runs on a single logical core on the Azure macOS VM.

Could anyone please suggest a solution to solve this ?

If it's unsolvable, Is there any other way to run a emulator on Azure VM ?

Carlos
  • 128
  • 5
CVA
  • 1,477
  • 1
  • 14
  • 23
  • Running android emulator in world's most powerful supercomputer will have performance issues. – Ezio Mar 02 '21 at 05:21
  • You could use [Self-hosted agents](https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/agents?view=azure-devops&tabs=browser#install) or [VMSS](https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/scale-set-agents?view=azure-devops) in Azure pipelines. – wallezzi Mar 02 '21 at 07:44
  • 1
    Is it possible without SHA or VMSS ? – CVA Mar 03 '21 at 09:26

1 Answers1

3

This was not possible. The only way this could be achieved was to create a self-hosted machine managed via the Azure pipeline. The added advantage to this was I could also connect real devices.

CVA
  • 1,477
  • 1
  • 14
  • 23