blob: 54c76c2e51af25e3cebf7e4d54103329b4580be8 [file] [log] [blame]
# Copyright (c) 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.
from autotest_lib.server import utils
NAME = "network_DiskFull"
PURPOSE = "Test that the connection manager survives on a full disk."
TEST_CATEGORY = "Functional"
TEST_CLASS = "network"
TEST_TYPE = "server"
DOC = """
This test fills the /var partition, and sets up a process to keep
the disk full (in case, e.g. an old log file is deleted). It then
tests how various bits of network machinery (e.g. shill, dhcpcd)
cope with a full disk.
def run(machine):
job.run_test("network_DiskFull", client_addr=machine)
parallel_simple(run, machines)