New issue
Advanced search Search tips

Issue 607867 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Mar 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Stabilize bluetooth connection sequence in autotest

Project Member Reported by cychiang@chromium.org, Apr 29 2016

Issue description

The current bluetooth connection sequence is not stable on some platform.
For example, on peach_pi, it is very unstable to get connected.
We can first adjust wait time and retry in the connection sequence.
 
Project Member

Comment 2 by bugdroid1@chromium.org, May 11 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/autotest/+/2070f4497322ba704738c9b59f73a03801800248

commit 2070f4497322ba704738c9b59f73a03801800248
Author: Cheng-Yi Chiang <cychiang@chromium.org>
Date: Fri Apr 29 10:43:17 2016

[autotest] chameleon: Stabilize bluetooth connection sequence

Adjust these parameters to stabilize bluetooth connection.
- Wait 20 seconds after disconnection to reset the state before connection.
- Set connection retry time limit to 90 seconds because one trial may
  take up to 15 seconds.
- Wait 15 seconds after connection before checking bluetooth nodes.

BUG= chromium:607867 
TEST=run audio_AudioBluetoothConnectionStability on peach_pi for 10
times.
Change-Id: I428401e979b11292058a7398b0544e310496e268
Reviewed-on: https://chromium-review.googlesource.com/341253
Commit-Ready: Cheng-Yi Chiang <cychiang@chromium.org>
Tested-by: Cheng-Yi Chiang <cychiang@chromium.org>
Reviewed-by: Kalin Stoyanov <kalin@chromium.org>

[modify] https://crrev.com/2070f4497322ba704738c9b59f73a03801800248/client/cros/chameleon/audio_widget_link.py
[modify] https://crrev.com/2070f4497322ba704738c9b59f73a03801800248/client/cros/chameleon/chameleon_bluetooth_audio.py

Labels: -Chameleon chameleon
Status: Verified (was: Started)

Sign in to add a comment