mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Reduce thread count in TCPResetDuringClose.
This test suffers from extreme contention on tcpip/stack.AddressableEndpointState.mu via AddressableEndpointState.decAddressRef, at least when Go race detection is enabled. PiperOrigin-RevId: 374273745
This commit is contained in:
@@ -1155,7 +1155,7 @@ TEST_P(TCPSocketPairTest, IpMulticastLoopDefault) {
|
||||
|
||||
TEST_P(TCPSocketPairTest, TCPResetDuringClose) {
|
||||
DisableSave ds; // Too many syscalls.
|
||||
constexpr int kThreadCount = 1000;
|
||||
constexpr int kThreadCount = 100;
|
||||
std::unique_ptr<ScopedThread> instances[kThreadCount];
|
||||
for (int i = 0; i < kThreadCount; i++) {
|
||||
instances[i] = absl::make_unique<ScopedThread>([&]() {
|
||||
|
||||
Reference in New Issue
Block a user