Disable save/restore in PartialBadBufferTest.SendMsgTCP.

PiperOrigin-RevId: 342314586
This commit is contained in:
Jamie Liu
2020-11-13 12:24:53 -08:00
committed by gVisor bot
parent 7fff51e50f
commit d5e17d2dbc
+4 -1
View File
@@ -320,7 +320,10 @@ PosixErrorOr<sockaddr_storage> InetLoopbackAddr(int family) {
// EFAULT. It also verifies that passing a buffer which is made up of 2
// pages one valid and one guard page succeeds as long as the write is
// for exactly the size of 1 page.
TEST_F(PartialBadBufferTest, SendMsgTCP) {
TEST_F(PartialBadBufferTest, SendMsgTCP_NoRandomSave) {
// FIXME(b/171436815): Netstack save/restore is broken.
const DisableSave ds;
auto listen_socket =
ASSERT_NO_ERRNO_AND_VALUE(Socket(AF_INET, SOCK_STREAM, IPPROTO_TCP));