Go to the documentation of this file.
19 #ifndef GRPC_TEST_CPP_STRESS_INTEROP_CLIENT_H
20 #define GRPC_TEST_CPP_STRESS_INTEROP_CLIENT_H
81 const vector<pair<TestCaseType, int>>&
tests);
88 const vector<pair<TestCaseType, int>>
tests_;
97 long test_duration_secs,
long sleep_duration_ms,
98 bool do_not_abort_on_transient_failures);
102 void MainLoop(
const std::shared_ptr<QpsGauge>& qps_gauge);
119 #endif // GRPC_TEST_CPP_STRESS_INTEROP_CLIENT_H
TestCaseType GetNextTest() const
@ SERVER_COMPRESSED_STREAMING
const vector< pair< TestCaseType, std::string > > kTestCaseList
@ CLIENT_COMPRESSED_UNARY
@ TIMEOUT_ON_SLEEPING_SERVER
const WeightedRandomTestSelector & test_selector_
std::string server_address("0.0.0.0:10000")
std::unique_ptr< InteropClient > interop_client_
ChannelCreationFunc channel_creation_func_
StressTestInteropClient(int test_id, const std::string &server_address, ChannelCreationFunc channel_creation_func, const WeightedRandomTestSelector &test_selector, long test_duration_secs, long sleep_duration_ms, bool do_not_abort_on_transient_failures)
void MainLoop(const std::shared_ptr< QpsGauge > &qps_gauge)
@ SERVER_COMPRESSED_UNARY
bool RunTest(TestCaseType test_case)
std::function< std::shared_ptr< Channel >void)> ChannelCreationFunc
@ STATUS_CODE_AND_MESSAGE
WeightedRandomTestSelector(const vector< pair< TestCaseType, int >> &tests)
const vector< pair< TestCaseType, int > > tests_
@ CLIENT_COMPRESSED_STREAMING
std::pair< std::string, std::string > pair
@ CANCEL_AFTER_FIRST_RESPONSE
const std::string & server_address_
grpc
Author(s):
autogenerated on Fri May 16 2025 03:00:21