From 05b59cc29e0a776dc25548ac076e18b3a088228d Mon Sep 17 00:00:00 2001 From: Peng Liu Date: Thu, 17 Nov 2022 12:00:28 +0200 Subject: [PATCH] Update tests. --- .circleci/config.yml | 2 +- .../com/mapbox/maps/testapp/viewport/ViewportPluginTest.kt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3b54ba4ff7..30b1626dbf 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -356,7 +356,7 @@ commands: --app << parameters.app_target >>/build/outputs/apk/debug/<< parameters.app_target >>-debug.apk \ --test << parameters.module_target >>/build/outputs/apk/androidTest/debug/<< parameters.module_target >>-debug-androidTest.apk \ --device model=blueline,version=28,locale=en,orientation=portrait \ - --timeout 45m --use-orchestrator --no-record-video --num-flaky-test-attempts 1 \ + --timeout 45m --use-orchestrator --num-flaky-test-attempts 1 \ --num-uniform-shards 3 else gcloud beta firebase test android run --type instrumentation \ diff --git a/app/src/androidTest/java/com/mapbox/maps/testapp/viewport/ViewportPluginTest.kt b/app/src/androidTest/java/com/mapbox/maps/testapp/viewport/ViewportPluginTest.kt index 51f820af17..168400a401 100644 --- a/app/src/androidTest/java/com/mapbox/maps/testapp/viewport/ViewportPluginTest.kt +++ b/app/src/androidTest/java/com/mapbox/maps/testapp/viewport/ViewportPluginTest.kt @@ -175,8 +175,8 @@ class ViewportPluginTest : BaseMapTest() { } } - // The location update will be animated with 1 second duration, we wait for 2 seconds for the animation to finish - latch.await(2, TimeUnit.SECONDS) + // The location update will be animated with 1 second duration, we wait for 3 seconds for the animation to finish + latch.await(3000, TimeUnit.MILLISECONDS) // validate the camera is at the moved location handler.post {