# Copyright 2014 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

AUTHOR = "mohsinally"
NAME = "login_LoginSuccess.stress"
ATTRIBUTES = "suite:stress"
TIME = "LONG"
TEST_CATEGORY = "Stress"
TEST_CLASS = "login"
TEST_TYPE = "client"

DOC = """
This test stress tests and verifies that signing in via the UI (using Telemetry)
works correctly. This includes listening to DBus to verify that the session_manager
announces the start of a user session upon sign in, as well as the end of one on sign out.
"""
iterations = 50
timeout_per_iteration = 120
job.run_test('login_LoginSuccess',
             tag='stress',
             iterations=iterations,
             timeout=iterations * timeout_per_iteration,
             stress_run=True)