• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2014 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
5from autotest_lib.server import utils
6
7AUTHOR = "quiche@chromium.org"
8NAME = "network_DiskFull"
9PURPOSE = "Test that the connection manager survives on a full disk."
10TIME = "MEDIUM"
11TEST_CATEGORY = "Functional"
12TEST_CLASS = "network"
13TEST_TYPE = "server"
14
15DOC = """
16This test fills the /var partition, and sets up a process to keep
17the disk full (in case, e.g. an old log file is deleted). It then
18tests how various bits of network machinery (e.g. shill, dhcpcd)
19cope with a full disk.
20"""
21
22def run(machine):
23    job.run_test("network_DiskFull", client_addr=machine)
24
25parallel_simple(run, machines)
26