diff options
author | Fabricio Voznika <fvoznika@google.com> | 2021-04-22 18:36:15 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-04-22 18:38:15 -0700 |
commit | d1859fe179bae1614ba91a45497ad63400210863 (patch) | |
tree | 46942045f56b4faad765afd766880bb4cfc9f3e9 | |
parent | 2739cf46284f2786ad33b545d55b8178bc46f7de (diff) |
Add mlock syscall test
PiperOrigin-RevId: 369993733
-rw-r--r-- | test/syscalls/BUILD | 38 |
1 files changed, 22 insertions, 16 deletions
diff --git a/test/syscalls/BUILD b/test/syscalls/BUILD index affcae8fd..0435f61a2 100644 --- a/test/syscalls/BUILD +++ b/test/syscalls/BUILD @@ -3,6 +3,8 @@ load("//test/runner:defs.bzl", "syscall_test") package(licenses = ["notice"]) +# Please keep syscall tests ordered alphabetically by name. + syscall_test( test = "//test/syscalls/linux:32bit_test", ) @@ -56,17 +58,7 @@ syscall_test( ) syscall_test( - test = "//test/syscalls/linux:socket_test", -) - -syscall_test( - test = "//test/syscalls/linux:socket_capability_test", -) - -syscall_test( - size = "large", - shard_count = most_shards, - test = "//test/syscalls/linux:socket_stress_test", + test = "//test/syscalls/linux:cgroup_test", ) syscall_test( @@ -311,6 +303,10 @@ syscall_test( ) syscall_test( + test = "//test/syscalls/linux:mlock_test", +) + +syscall_test( size = "medium", shard_count = more_shards, test = "//test/syscalls/linux:mmap_test", @@ -322,10 +318,6 @@ syscall_test( ) syscall_test( - test = "//test/syscalls/linux:verity_mount_test", -) - -syscall_test( size = "medium", test = "//test/syscalls/linux:mremap_test", ) @@ -612,6 +604,10 @@ syscall_test( ) syscall_test( + test = "//test/syscalls/linux:socket_capability_test", +) + +syscall_test( size = "medium", test = "//test/syscalls/linux:socket_domain_non_blocking_test", ) @@ -780,6 +776,16 @@ syscall_test( ) syscall_test( + size = "large", + shard_count = most_shards, + test = "//test/syscalls/linux:socket_stress_test", +) + +syscall_test( + test = "//test/syscalls/linux:socket_test", +) + +syscall_test( flaky = 1, # NOTE(b/116636318): Large sendmsg may stall a long time. shard_count = more_shards, test = "//test/syscalls/linux:socket_unix_dgram_local_test", @@ -1003,5 +1009,5 @@ syscall_test( ) syscall_test( - test = "//test/syscalls/linux:cgroup_test", + test = "//test/syscalls/linux:verity_mount_test", ) |