diff options
author | zeek <zeek@google.com> | 2022-09-20 00:35:53 +0800 |
---|---|---|
committer | Zhenhuang Wang <zeek@google.com> | 2022-09-20 16:59:48 +0000 |
commit | 662e0936bde29d57fc12f2777366586903b3793d (patch) | |
tree | 99f34b86258b1f8d4e7e6e91cb05d25d72800d32 | |
parent | 1b6ae989585a61fe7c27884eb78ab4fd4c6ebf9d (diff) | |
download | tokio-662e0936bde29d57fc12f2777366586903b3793d.tar.gz |
Add tags=["no-remote"] to tokio host unit testsmain-16k
This tag disables Bazel remote mode for the three tokio host unit
tests: tokio_test_tests_rt_common, tokio_test_tests_tcp_connect
and tokio_test_tests_tcp_socket. These tests cannot run in remote
environment with network access disabled. No impact to current Bazel
local mode test execution.
Bug: 236973602
Test: atest-src --host --experimental-remote tokio_test_tests_rt_common
Test: atest-src --host --experimental-remote tokio_test_tests_tcp_connect
Test: atest-src --host --experimental-remote tokio_test_tests_tcp_socket
Change-Id: I6e2577315a52ab5ef796e526e6dc9acd2a3990a6
-rw-r--r-- | Android.bp | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -452,6 +452,7 @@ rust_test { host_supported: true, srcs: ["tests/rt_common.rs"], test_options: { + tags: ["no-remote"], unit_test: true, }, } @@ -642,6 +643,7 @@ rust_test { host_supported: true, srcs: ["tests/tcp_connect.rs"], test_options: { + tags: ["no-remote"], unit_test: true, }, } @@ -702,6 +704,7 @@ rust_test { host_supported: true, srcs: ["tests/tcp_socket.rs"], test_options: { + tags: ["no-remote"], unit_test: true, }, } |