OLD | NEW |
1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 AUTHOR = "Chrome OS Team" | 5 AUTHOR = "Chrome OS Team" |
6 TIME = "LONG" | 6 TIME = "LONG" |
7 NAME = "NetworkWiFi" | 7 NAME = "NetworkWiFi" |
8 TEST_CATEGORY = "Stress" | 8 TEST_CATEGORY = "Stress" |
9 TEST_CLASS = "suite" | 9 TEST_CLASS = "suite" |
10 TEST_TYPE = "server" | 10 TEST_TYPE = "server" |
(...skipping 10 matching lines...) Expand all Loading... |
21 | 21 |
22 server - the IP address of the server (automatically filled in) | 22 server - the IP address of the server (automatically filled in) |
23 client - the IP address of the client (automatically filled in) | 23 client - the IP address of the client (automatically filled in) |
24 router - the IP address of the WiFi AP/Router and the names of the | 24 router - the IP address of the WiFi AP/Router and the names of the |
25 wifi and wired devices to configure | 25 wifi and wired devices to configure |
26 """ | 26 """ |
27 | 27 |
28 import os | 28 import os |
29 import time | 29 import time |
30 | 30 |
| 31 from autotest_lib.client.common_lib import error |
31 from autotest_lib.server import site_host_attributes, site_remote_power | 32 from autotest_lib.server import site_host_attributes, site_remote_power |
32 from autotest_lib.server import site_wifitest | 33 from autotest_lib.server import site_wifitest |
33 from autotest_lib.server.hosts import ssh_host | 34 from autotest_lib.server.hosts import ssh_host |
34 | 35 |
35 | 36 |
36 # Time in seconds to leave power off during power cycle. | 37 # Time in seconds to leave power off during power cycle. |
37 POWER_CYCLE_TIME_SECS = 1 | 38 POWER_CYCLE_TIME_SECS = 1 |
38 | 39 |
39 # Timeout in seconds for waiting for APs to come back from power cycle. | 40 # Timeout in seconds for waiting for APs to come back from power cycle. |
40 POWER_CYCLE_TIMEOUT_SECS = 120 | 41 POWER_CYCLE_TIMEOUT_SECS = 120 |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 'cycle.') | 76 'cycle.') |
76 | 77 |
77 args.append('router_addr=' + str(client_attributes.router_addr)) | 78 args.append('router_addr=' + str(client_attributes.router_addr)) |
78 args.append('server_addr=' + str(client_attributes.server_addr)) | 79 args.append('server_addr=' + str(client_attributes.server_addr)) |
79 | 80 |
80 site_wifitest.run_test_dir('network_WiFiSecMat', job, args, machine) | 81 site_wifitest.run_test_dir('network_WiFiSecMat', job, args, machine) |
81 site_wifitest.run_test_dir('network_WiFiMatFunc', job, args, machine) | 82 site_wifitest.run_test_dir('network_WiFiMatFunc', job, args, machine) |
82 | 83 |
83 | 84 |
84 parallel_simple(run_server_tests, machines) | 85 parallel_simple(run_server_tests, machines) |
OLD | NEW |