blob: 79a289a463a0a493bb9391c1c703d40f4fef8f01 [file] [log] [blame]
# Copyright (c) 2011 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 = "ChromeOS Team"
NAME = "network_EthCapsServer"
PURPOSE = 'Verify that LAN devices have the required capabilities.'
CRITERIA = """
Test will pass if the following requirements are met, otherwise should fail:
1. Has Wake-on-LAN magic packet capabilities and successfully wakes from
suspend.
- subtest should take <20 seconds to pass and <60seconds to fail
"""
TIME = "SHORT"
TEST_CATEGORY = "Functional"
TEST_CLASS = "network"
TEST_TYPE = "server"
DOC = """
This test checks ethernet capabilities of a device. See CRITERIA for more
details.
"""
def run_ethcaps(machine):
job.run_test('network_EthCapsServer', client_ip=machine)
job.parallel_simple(run_ethcaps, machines, timeout=60)