summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls/BUILD
diff options
context:
space:
mode:
authorBhasker Hariharan <bhaskerh@google.com>2019-08-06 10:59:49 -0700
committergVisor bot <gvisor-bot@google.com>2019-08-06 11:01:27 -0700
commitdfbc0b0a4cabc6468c82a7665ff655fd4a633dd9 (patch)
treeb7f56b8341e10c88617f25a74e49045685ffb04e /test/syscalls/BUILD
parent704f9610f3d1add26c266888de62d884338f52cc (diff)
Fix for a panic due to writing to a closed accept channel.
This can happen because endpoint.Close() closes the accept channel first and then drains/resets any accepted but not delivered connections. But there can be connections that are connected but not delivered to the channel as the channel was full. But closing the channel can cause these writes to fail with a write to a closed channel. The correct solution is to abort any connections in SYN-RCVD state and drain/abort all completed connections before closing the accept channel. PiperOrigin-RevId: 261951132
Diffstat (limited to 'test/syscalls/BUILD')
-rw-r--r--test/syscalls/BUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/syscalls/BUILD b/test/syscalls/BUILD
index a3e43cad2..aa1e33fb4 100644
--- a/test/syscalls/BUILD
+++ b/test/syscalls/BUILD
@@ -440,7 +440,9 @@ syscall_test(
)
syscall_test(
- size = "medium",
+ size = "large",
+ parallel = False,
+ shard_count = 10,
test = "//test/syscalls/linux:socket_inet_loopback_test",
)