mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Deflake socket_ip_tcp_loopback_test with S/R.
BasicSendmmsg test times out with S/R, disable the test. PiperOrigin-RevId: 632377669
This commit is contained in:
committed by
gVisor bot
parent
e882488ed7
commit
7d8307e546
@@ -2528,6 +2528,7 @@ cc_library(
|
||||
deps = select_gtest() + [
|
||||
":unix_domain_socket_test_util",
|
||||
"//test/util:capability_util",
|
||||
"//test/util:save_util",
|
||||
"//test/util:socket_util",
|
||||
"//test/util:test_util",
|
||||
"@com_google_absl//absl/strings",
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
#include "absl/strings/string_view.h"
|
||||
#include "test/syscalls/linux/unix_domain_socket_test_util.h"
|
||||
#include "test/util/capability_util.h"
|
||||
#include "test/util/save_util.h"
|
||||
#include "test/util/socket_util.h"
|
||||
#include "test/util/test_util.h"
|
||||
|
||||
@@ -75,6 +76,8 @@ TEST_P(AllSocketPairTest, BasicSendmmsg) {
|
||||
char sent_data[200];
|
||||
RandomizeBuffer(sent_data, sizeof(sent_data));
|
||||
|
||||
// TODO(b/323000153): Flaky with S/R.
|
||||
gvisor::testing::DisableSave ds;
|
||||
std::vector<struct mmsghdr> msgs(10);
|
||||
std::vector<struct iovec> iovs(msgs.size());
|
||||
const int chunk_size = sizeof(sent_data) / msgs.size();
|
||||
|
||||
Reference in New Issue
Block a user