NAME = "platform_MemoryPressure"
PURPOSE = "Verify tab discarding occurs and is sane."
CRITERIA = """
This test tracks both functionality and performance.
The test fails if it times out or if the kernel crashes.
TODO: should also check how many OOM-kills occur.
"""
ATTRIBUTES = "suite:power_daily"

AUTHOR="Luigi Semenzato"
TIME = "LONG"
TEST_CATEGORY = "General"
TEST_CLASS = "platform"
TEST_TYPE = "client"
DOC = """
  This test opens live tabs and cycles through them until a tab discard occurs.
"""

job.run_test('platform_MemoryPressure', flavor='realistic')