|
|
|
@ -836,7 +836,8 @@ void XdsEnd2endTest::SetProtoDuration( |
|
|
|
|
|
|
|
|
|
std::string XdsEnd2endTest::MakeConnectionFailureRegex( |
|
|
|
|
absl::string_view prefix) { |
|
|
|
|
return absl::StrCat(prefix, |
|
|
|
|
return absl::StrCat( |
|
|
|
|
prefix, |
|
|
|
|
"(UNKNOWN|UNAVAILABLE): " |
|
|
|
|
// IP address
|
|
|
|
|
"(ipv6:%5B::1%5D|ipv4:127.0.0.1):[0-9]+: " |
|
|
|
@ -844,7 +845,7 @@ std::string XdsEnd2endTest::MakeConnectionFailureRegex( |
|
|
|
|
"(Failed to connect to remote host: )?" |
|
|
|
|
"(Timeout occurred: )?" |
|
|
|
|
// Syscall
|
|
|
|
|
"((connect|recvmsg|getsockopt\\(SO\\_ERROR\\)): ?)?" |
|
|
|
|
"((connect|sendmsg|recvmsg|getsockopt\\(SO\\_ERROR\\)): ?)?" |
|
|
|
|
// strerror() output or other message
|
|
|
|
|
"(Connection refused" |
|
|
|
|
"|Connection reset by peer" |
|
|
|
|