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