1# Copyright 2019 The Chromium OS Authors. All rights reserved. 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5AUTHOR = 'The Chromium OS Authors,[email protected]' 6NAME = 'audio_CrasDevSwitchStress' 7ATTRIBUTES = "suite:audio" 8PURPOSE = 'Test device buffer can stay at reasonable level at repeated switching' 9CRITERIA = """ 10Fail if device buffer drifts too high. 11""" 12TIME='MEDIUM' 13TEST_CATEGORY = 'Functional' 14TEST_CLASS = "audio" 15TEST_TYPE = 'client' 16PY_VERSION = 3 17 18DOC = """ 19Test device buffer can stay at reasonable level under repeated switching. 20""" 21 22job.run_test('audio_CrasDevSwitchStress', 23 type_a='HEADPHONE', 24 type_b='INTERNAL_SPEAKER', 25 pinned_type=None) 26