aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeek <zeek@google.com>2022-09-20 00:35:53 +0800
committerZhenhuang Wang <zeek@google.com>2022-09-20 16:59:48 +0000
commit662e0936bde29d57fc12f2777366586903b3793d (patch)
tree99f34b86258b1f8d4e7e6e91cb05d25d72800d32
parent1b6ae989585a61fe7c27884eb78ab4fd4c6ebf9d (diff)
downloadtokio-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.bp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 17e4864..cf507e3 100644
--- a/Android.bp
+++ b/Android.bp
@@ -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,
},
}