| # Copyright 2020 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 = "kyleshima, Chromium OS" |
| NAME = "rlz_CheckPing.should_send_rlz_ping_missing" |
| PURPOSE = "Test rlz related vpd setting: should_send_rlz_ping." |
| TIME = "Short" |
| TEST_CATEGORY = "Functional" |
| TEST_CLASS = "platform" |
| TEST_TYPE = "server" |
| ATTRIBUTES = "suite:rlz" |
| DOC = """ |
| This tests that no first-use event (CAF) ping is sent if the |
| should_send_rlz_ping vpd setting is missing. The install event |
| (CAI) ping will still be sent once the ping delay has elapsed. |
| """ |
| |
| import datetime |
| |
| def run(machine): |
| host = hosts.create_host(machine) |
| job.run_test('rlz_CheckPing', host=host, should_send_rlz_ping=None) |
| |
| job.parallel_simple(run, machines) |