| # Copyright 2018 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. |
| |
| AUTHOR = "Chrome OS Team" |
| NAME = "ml_service" |
| PURPOSE = "Verify the ml_service lifecycle." |
| TIME = "SHORT" |
| TEST_CATEGORY = "General" |
| TEST_CLASS = "suite" |
| TEST_TYPE = "Server" |
| |
| DOC = """ |
| Tests the ml_service daemon start/stop and Mojo calls. |
| """ |
| |
| import common |
| from autotest_lib.server.cros import provision |
| from autotest_lib.server.cros.dynamic_suite import dynamic_suite |
| |
| args_dict['add_experimental'] = True |
| args_dict['version_prefix'] = provision.CROS_VERSION_PREFIX |
| args_dict['name'] = NAME |
| args_dict['job'] = job |
| |
| dynamic_suite.reimage_and_run(**args_dict) |