Tast: Stop Assistant after assistant tests

Previously Assistant was not stopped explicitly, which could
cause the Assistant to keep running for about a minute.
This caused interactions between the tests, for example the port
8007 is both used by the webserver started by libassistant_debug.so,
and by the security.NetworkListenersNonARC test.

BUG=b/158298304
Change-Id: I5f7564b008316e2a3d2c283cce2588c5bbe127b7
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/tast-tests/+/2233178
Reviewed-by: Katherine Threlkeld <kathrelkeld@chromium.org>
Reviewed-by: Xiaohui Chen <xiaohuic@chromium.org>
Commit-Queue: Jeroen Dhollander <jeroendh@google.com>
Tested-by: Jeroen Dhollander <jeroendh@google.com>
Auto-Submit: Jeroen Dhollander <jeroendh@google.com>
(cherry picked from commit e4488d0382b46ea8aedc906522f60c928fb11f2a)
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/tast-tests/+/2289496
Tested-by: Brendan Hansknecht <bhansknecht@chromium.org>
Auto-Submit: Brendan Hansknecht <bhansknecht@chromium.org>
Reviewed-by: Jeroen Dhollander <jeroendh@chromium.org>
Commit-Queue: Jeroen Dhollander <jeroendh@chromium.org>
8 files changed
tree: 6aeb581b27b6be2dd20dcf5d9b148fca92b11e21
  1. android/
  2. helpers/
  3. src/
  4. tools/
  5. .gitignore
  6. LICENSE
  7. OWNERS
  8. PRESUBMIT.cfg
  9. PRESUBMIT.py
  10. README.md
README.md

Tast (tests)

This repository contains integration tests that are run by Tast.

Directory structure

  • helpers/ - Source code for binaries executed by tests.
    • local/ - Helpers for local tests that are compiled and installed to /usr/local/libexec/tast/helpers/local/cros by the tast-local-helpers-cros package.
  • src/chromiumos/tast/
    • local/ - Code related to local (i.e. on-device or “client”) tests.
      • bundles/ - Local test bundles.
        • cros/ - The “cros” local test bundle, containing standard Chrome OS tests. Tests are packaged by category.
      • ... - Packages used only by local tests.
    • remote/ - Code related to remote (i.e. off-device or “server”) tests.
      • bundles/ - Remote test bundles.
        • cros/ - The “cros” remote test bundle, containing standard Chrome OS tests. Tests are packaged by category.
      • ... - Packages used only by remote tests.

Shared code, the main tast executable, the local_test_runner and remote_test_runner executables responsible for running bundles, and documentation are located in the tast repository.

GoDoc