|
|
|
@ -606,16 +606,14 @@ std::vector<CoreTestConfiguration> DefaultConfigs() { |
|
|
|
|
}}, |
|
|
|
|
CoreTestConfiguration{ |
|
|
|
|
"Chttp2Fullstack", |
|
|
|
|
FEATURE_MASK_SUPPORTS_CLIENT_CHANNEL | FEATURE_MASK_IS_HTTP2, |
|
|
|
|
nullptr, |
|
|
|
|
FEATURE_MASK_SUPPORTS_CLIENT_CHANNEL | FEATURE_MASK_IS_HTTP2, nullptr, |
|
|
|
|
[](const ChannelArgs& /*client_args*/, |
|
|
|
|
const ChannelArgs& /*server_args*/) { |
|
|
|
|
return std::make_unique<InsecureFixture>(); |
|
|
|
|
}}, |
|
|
|
|
CoreTestConfiguration{ |
|
|
|
|
"Chttp2FullstackCompression", |
|
|
|
|
FEATURE_MASK_SUPPORTS_CLIENT_CHANNEL | FEATURE_MASK_IS_HTTP2, |
|
|
|
|
nullptr, |
|
|
|
|
FEATURE_MASK_SUPPORTS_CLIENT_CHANNEL | FEATURE_MASK_IS_HTTP2, nullptr, |
|
|
|
|
[](const ChannelArgs&, const ChannelArgs&) { |
|
|
|
|
return std::make_unique<CompressionFixture>(); |
|
|
|
|
}}, |
|
|
|
@ -677,12 +675,12 @@ std::vector<CoreTestConfiguration> DefaultConfigs() { |
|
|
|
|
const ChannelArgs& /*server_args*/) { |
|
|
|
|
gpr_timespec now = gpr_now(GPR_CLOCK_MONOTONIC); |
|
|
|
|
return std::make_unique<LocalTestFixture>( |
|
|
|
|
absl::StrFormat( |
|
|
|
|
"unix:%s" |
|
|
|
|
"grpc_fullstack_test.%%25.%d.%" PRId64 ".%" PRId32 |
|
|
|
|
".%" PRId64 ".%" PRId64, |
|
|
|
|
absl::StrFormat("unix:%s" |
|
|
|
|
"grpc_fullstack_test.%%25.%d.%" PRId64 |
|
|
|
|
".%" PRId32 ".%" PRId64 ".%" PRId64, |
|
|
|
|
temp_dir, getpid(), now.tv_sec, now.tv_nsec, |
|
|
|
|
unique.fetch_add(1, std::memory_order_relaxed), Rand()), |
|
|
|
|
unique.fetch_add(1, std::memory_order_relaxed), |
|
|
|
|
Rand()), |
|
|
|
|
UDS); |
|
|
|
|
}}, |
|
|
|
|
CoreTestConfiguration{ |
|
|
|
@ -696,12 +694,12 @@ std::vector<CoreTestConfiguration> DefaultConfigs() { |
|
|
|
|
const ChannelArgs& /*server_args*/) { |
|
|
|
|
gpr_timespec now = gpr_now(GPR_CLOCK_REALTIME); |
|
|
|
|
return std::make_unique<LocalTestFixture>( |
|
|
|
|
absl::StrFormat( |
|
|
|
|
"unix:%s" |
|
|
|
|
"grpc_fullstack_test.%d.%" PRId64 ".%" PRId32 ".%" PRId64 |
|
|
|
|
".%" PRId64, |
|
|
|
|
absl::StrFormat("unix:%s" |
|
|
|
|
"grpc_fullstack_test.%d.%" PRId64 ".%" PRId32 |
|
|
|
|
".%" PRId64 ".%" PRId64, |
|
|
|
|
temp_dir, getpid(), now.tv_sec, now.tv_nsec, |
|
|
|
|
unique.fetch_add(1, std::memory_order_relaxed), Rand()), |
|
|
|
|
unique.fetch_add(1, std::memory_order_relaxed), |
|
|
|
|
Rand()), |
|
|
|
|
UDS); |
|
|
|
|
}}, |
|
|
|
|
#endif |
|
|
|
@ -716,8 +714,7 @@ std::vector<CoreTestConfiguration> DefaultConfigs() { |
|
|
|
|
}}, |
|
|
|
|
CoreTestConfiguration{ |
|
|
|
|
"Chttp2FullstackWithCensus", |
|
|
|
|
FEATURE_MASK_SUPPORTS_CLIENT_CHANNEL | FEATURE_MASK_IS_HTTP2, |
|
|
|
|
nullptr, |
|
|
|
|
FEATURE_MASK_SUPPORTS_CLIENT_CHANNEL | FEATURE_MASK_IS_HTTP2, nullptr, |
|
|
|
|
[](const ChannelArgs&, const ChannelArgs&) { |
|
|
|
|
return std::make_unique<CensusFixture>(); |
|
|
|
|
}}, |
|
|
|
@ -746,15 +743,13 @@ std::vector<CoreTestConfiguration> DefaultConfigs() { |
|
|
|
|
FEATURE_MASK_IS_HTTP2 | FEATURE_MASK_DO_NOT_FUZZ, |
|
|
|
|
"foo.test.google.fr", |
|
|
|
|
[](const ChannelArgs& client_args, const ChannelArgs& server_args) { |
|
|
|
|
return std::make_unique<SslProxyFixture>(client_args, |
|
|
|
|
server_args); |
|
|
|
|
return std::make_unique<SslProxyFixture>(client_args, server_args); |
|
|
|
|
}}, |
|
|
|
|
CoreTestConfiguration{ |
|
|
|
|
"Chttp2InsecureCredentials", |
|
|
|
|
FEATURE_MASK_SUPPORTS_CLIENT_CHANNEL | |
|
|
|
|
FEATURE_MASK_SUPPORTS_PER_CALL_CREDENTIALS_LEVEL_INSECURE | |
|
|
|
|
FEATURE_MASK_IS_HTTP2 | |
|
|
|
|
FEATURE_MASK_EXCLUDE_FROM_EXPERIMENT_RUNS, |
|
|
|
|
FEATURE_MASK_IS_HTTP2 | FEATURE_MASK_EXCLUDE_FROM_EXPERIMENT_RUNS, |
|
|
|
|
nullptr, |
|
|
|
|
[](const ChannelArgs&, const ChannelArgs&) { |
|
|
|
|
return std::make_unique<InsecureCredsFixture>(); |
|
|
|
@ -762,8 +757,7 @@ std::vector<CoreTestConfiguration> DefaultConfigs() { |
|
|
|
|
}, |
|
|
|
|
CoreTestConfiguration{ |
|
|
|
|
"Chttp2SimpleSslWithOauth2FullstackTls12", |
|
|
|
|
FEATURE_MASK_IS_SECURE | |
|
|
|
|
FEATURE_MASK_SUPPORTS_PER_CALL_CREDENTIALS | |
|
|
|
|
FEATURE_MASK_IS_SECURE | FEATURE_MASK_SUPPORTS_PER_CALL_CREDENTIALS | |
|
|
|
|
FEATURE_MASK_SUPPORTS_CLIENT_CHANNEL | FEATURE_MASK_IS_HTTP2 | |
|
|
|
|
FEATURE_MASK_EXCLUDE_FROM_EXPERIMENT_RUNS, |
|
|
|
|
"foo.test.google.fr", |
|
|
|
@ -772,8 +766,7 @@ std::vector<CoreTestConfiguration> DefaultConfigs() { |
|
|
|
|
}}, |
|
|
|
|
CoreTestConfiguration{ |
|
|
|
|
"Chttp2SimpleSslWithOauth2FullstackTls13", |
|
|
|
|
FEATURE_MASK_IS_SECURE | |
|
|
|
|
FEATURE_MASK_SUPPORTS_PER_CALL_CREDENTIALS | |
|
|
|
|
FEATURE_MASK_IS_SECURE | FEATURE_MASK_SUPPORTS_PER_CALL_CREDENTIALS | |
|
|
|
|
FEATURE_MASK_SUPPORTS_CLIENT_CHANNEL | FEATURE_MASK_IS_HTTP2, |
|
|
|
|
"foo.test.google.fr", |
|
|
|
|
[](const ChannelArgs&, const ChannelArgs&) { |
|
|
|
@ -781,8 +774,7 @@ std::vector<CoreTestConfiguration> DefaultConfigs() { |
|
|
|
|
}}, |
|
|
|
|
CoreTestConfiguration{ |
|
|
|
|
"Chttp2SimplSslFullstackTls12", |
|
|
|
|
FEATURE_MASK_IS_SECURE | |
|
|
|
|
FEATURE_MASK_SUPPORTS_PER_CALL_CREDENTIALS | |
|
|
|
|
FEATURE_MASK_IS_SECURE | FEATURE_MASK_SUPPORTS_PER_CALL_CREDENTIALS | |
|
|
|
|
FEATURE_MASK_SUPPORTS_CLIENT_CHANNEL | FEATURE_MASK_IS_HTTP2 | |
|
|
|
|
FEATURE_MASK_EXCLUDE_FROM_EXPERIMENT_RUNS, |
|
|
|
|
"foo.test.google.fr", |
|
|
|
@ -791,8 +783,7 @@ std::vector<CoreTestConfiguration> DefaultConfigs() { |
|
|
|
|
}}, |
|
|
|
|
CoreTestConfiguration{ |
|
|
|
|
"Chttp2SimplSslFullstackTls13", |
|
|
|
|
FEATURE_MASK_IS_SECURE | |
|
|
|
|
FEATURE_MASK_SUPPORTS_PER_CALL_CREDENTIALS | |
|
|
|
|
FEATURE_MASK_IS_SECURE | FEATURE_MASK_SUPPORTS_PER_CALL_CREDENTIALS | |
|
|
|
|
FEATURE_MASK_SUPPORTS_CLIENT_CHANNEL | |
|
|
|
|
FEATURE_MASK_DOES_NOT_SUPPORT_CLIENT_HANDSHAKE_COMPLETE_FIRST | |
|
|
|
|
FEATURE_MASK_IS_HTTP2, |
|
|
|
@ -800,13 +791,13 @@ std::vector<CoreTestConfiguration> DefaultConfigs() { |
|
|
|
|
[](const ChannelArgs&, const ChannelArgs&) { |
|
|
|
|
return std::make_unique<SslTlsFixture>(grpc_tls_version::TLS1_3); |
|
|
|
|
}}, |
|
|
|
|
CoreTestConfiguration{ |
|
|
|
|
"Chttp2SocketPair", |
|
|
|
|
CoreTestConfiguration{"Chttp2SocketPair", |
|
|
|
|
FEATURE_MASK_IS_HTTP2 | FEATURE_MASK_DO_NOT_FUZZ | |
|
|
|
|
FEATURE_MASK_EXCLUDE_FROM_EXPERIMENT_RUNS, |
|
|
|
|
nullptr, |
|
|
|
|
[](const ChannelArgs&, const ChannelArgs&) { |
|
|
|
|
return std::make_unique<SockpairFixture>(ChannelArgs()); |
|
|
|
|
return std::make_unique<SockpairFixture>( |
|
|
|
|
ChannelArgs()); |
|
|
|
|
}}, |
|
|
|
|
CoreTestConfiguration{ |
|
|
|
|
"Chttp2SocketPair1ByteAtATime", |
|
|
|
@ -827,8 +818,7 @@ std::vector<CoreTestConfiguration> DefaultConfigs() { |
|
|
|
|
FEATURE_MASK_DO_NOT_FUZZ, |
|
|
|
|
nullptr, |
|
|
|
|
[](const ChannelArgs&, const ChannelArgs&) { |
|
|
|
|
return std::make_unique<SockpairWithMinstackFixture>( |
|
|
|
|
ChannelArgs()); |
|
|
|
|
return std::make_unique<SockpairWithMinstackFixture>(ChannelArgs()); |
|
|
|
|
}}, |
|
|
|
|
CoreTestConfiguration{ |
|
|
|
|
"Inproc", |
|
|
|
@ -849,8 +839,7 @@ std::vector<CoreTestConfiguration> DefaultConfigs() { |
|
|
|
|
}, |
|
|
|
|
CoreTestConfiguration{ |
|
|
|
|
"Chttp2SslCredReloadTls12", |
|
|
|
|
FEATURE_MASK_IS_SECURE | |
|
|
|
|
FEATURE_MASK_SUPPORTS_PER_CALL_CREDENTIALS | |
|
|
|
|
FEATURE_MASK_IS_SECURE | FEATURE_MASK_SUPPORTS_PER_CALL_CREDENTIALS | |
|
|
|
|
FEATURE_MASK_SUPPORTS_CLIENT_CHANNEL | FEATURE_MASK_IS_HTTP2 | |
|
|
|
|
FEATURE_MASK_EXCLUDE_FROM_EXPERIMENT_RUNS, |
|
|
|
|
"foo.test.google.fr", |
|
|
|
@ -994,8 +983,7 @@ std::vector<CoreTestConfiguration> DefaultConfigs() { |
|
|
|
|
return std::make_unique<InsecureFixtureWithPipeForWakeupFd>(); |
|
|
|
|
}}, |
|
|
|
|
#endif |
|
|
|
|
CoreTestConfiguration { |
|
|
|
|
"ChaoticGoodFullStack", |
|
|
|
|
CoreTestConfiguration{"ChaoticGoodFullStack", |
|
|
|
|
FEATURE_MASK_SUPPORTS_CLIENT_CHANNEL | |
|
|
|
|
FEATURE_MASK_DOES_NOT_SUPPORT_RETRY | |
|
|
|
|
FEATURE_MASK_DOES_NOT_SUPPORT_WRITE_BUFFERING | |
|
|
|
@ -1004,9 +992,7 @@ std::vector<CoreTestConfiguration> DefaultConfigs() { |
|
|
|
|
[](const ChannelArgs& /*client_args*/, |
|
|
|
|
const ChannelArgs& /*server_args*/) { |
|
|
|
|
return std::make_unique<ChaoticGoodFixture>(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|
}}}; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
std::vector<CoreTestConfiguration> AllConfigs() { |
|
|
|
|