blob: 5c9fb241297fc0a0e06ea537f61dd4208e577a28 [file] [log] [blame]
# Copyright (c) 2012 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.
# TEST IS DISABLED UNTIL MIGRATED TO PYTHON 3.
# For instructions on how to: go/tauto-py3-migration
# To re-enable migrate to Python 3.
# If the test is not migrated by 1/14/22 it will be deleted.
AUTHOR = "The Chromium OS Authors"
DOC = """
Runs a cpu-hogging process in the Chrome renderer background cgroup, which is
CPU bandwidth limited and verifies that 90% of the time slices were throttled.
"""
NAME = "kernel_SchedBandwith"
PURPOSE = """
Checks that /sys/fs/cgroup/cpu/chrome_renderers/background/cpu.cfs_quota_us
is enforced.
"""
CRITERIA = """
Fails if CONFIG_CFS_BANDWIDTH components do not exist or behave incorrectly.
"""
ATTRIBUTES = "suite:hwqual"
TIME = "SHORT"
TEST_CATEGORY = "Functional"
TEST_CLASS = "kernel"
TEST_TYPE = "client"
job.run_test('kernel_SchedBandwith')