Virtual-device-testing-for-android timeout every 30 min

android
#1

Hi,

I notice that my UI Test for Android recently failed due to TimeOut error:

Test results:
Model    API Level   Locale   Orientation   Outcome                        
Pixel2   28          en       portrait      failure(TimedOut)   
Pixel2   28          en       portrait      failure(TimedOut)   
Pixel2   28          en       portrait      failure(TimedOut)   
Pixel2   28          en       portrait      failure(TimedOut)  

Ref: https://app.bitrise.io/build/d8b3ae77ca04c3be#?tab=log

The reason is Firebase limit time for Physical device is 30 mins:

Longer test durations: Tests on physical devices are limited to a test duration of 30 minutes on each device. Virtual devices support a test duration of up to 60 minutes, which makes them suitable for running longer tests, and especially for measuring the performance of an app.

Ref:https://firebase.google.com/docs/test-lab/android/avds

So my question is:

  1. Is there any option to choose testing on Firebase on Virtual devices to increase test duration to 60 mins
  2. Is there any workaround to work with Firebase test lab

Many thanks

0 Likes

#2

Hi @dat!

Unfortunately, no to all questions, this isn’t a bug, this is the available time limit at the moment.

As an alternative, we sometimes recommend Flank which is a great tool for test sharding with Firebase, and speeds up the tests by quite a lot. The problem is, that in order to use this tool you require your own Firebase Test Lab account and can no longer use Bitrise’s integration, so that would mean extra costs.

1 Like

#3

Hi @bitce

I got it, Thank you for sharing information about Flank :slight_smile:

1 Like

closed #4

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

0 Likes