Namespaces | Functions
rls_end2end_test.cc File Reference
#include <deque>
#include <map>
#include <thread>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "absl/strings/str_format.h"
#include "absl/strings/str_join.h"
#include "absl/types/optional.h"
#include <grpcpp/channel.h>
#include <grpcpp/create_channel.h>
#include <grpcpp/security/credentials.h>
#include <grpcpp/server.h>
#include <grpcpp/server_builder.h>
#include <grpcpp/support/channel_arguments.h>
#include "src/core/ext/filters/client_channel/backup_poller.h"
#include "src/core/ext/filters/client_channel/resolver/fake/fake_resolver.h"
#include "src/core/lib/address_utils/parse_address.h"
#include "src/core/lib/channel/channel_args.h"
#include "src/core/lib/gpr/env.h"
#include "src/core/lib/gprpp/host_port.h"
#include "src/core/lib/gprpp/time.h"
#include "src/core/lib/iomgr/sockaddr.h"
#include "src/core/lib/security/credentials/fake/fake_credentials.h"
#include "src/core/lib/service_config/service_config_impl.h"
#include "src/core/lib/uri/uri_parser.h"
#include "src/cpp/client/secure_credentials.h"
#include "src/cpp/server/secure_server_credentials.h"
#include "src/proto/grpc/lookup/v1/rls.grpc.pb.h"
#include "src/proto/grpc/lookup/v1/rls.pb.h"
#include "src/proto/grpc/testing/echo.grpc.pb.h"
#include "test/core/util/port.h"
#include "test/core/util/resolve_localhost_ip46.h"
#include "test/core/util/test_config.h"
#include "test/core/util/test_lb_policies.h"
#include "test/cpp/end2end/counted_service.h"
#include "test/cpp/end2end/rls_server.h"
#include "test/cpp/end2end/test_service_impl.h"
#include "test/cpp/util/test_config.h"
Include dependency graph for rls_end2end_test.cc:

Go to the source code of this file.

Namespaces

 grpc
 
 grpc::testing
 

Functions

int main (int argc, char **argv)
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 1419 of file rls_end2end_test.cc.

Variable Documentation

◆ backends_

std::vector<std::unique_ptr<ServerThread<MyTestServiceImpl> > > backends_
protected

Definition at line 471 of file rls_end2end_test.cc.

◆ cache_size_bytes_

int64_t cache_size_bytes_ = 10485760
private

Definition at line 402 of file rls_end2end_test.cc.

◆ channel_

std::shared_ptr<grpc::Channel> channel_
protected

Definition at line 475 of file rls_end2end_test.cc.

◆ default_target_

std::string default_target_
private

Definition at line 399 of file rls_end2end_test.cc.

◆ ipv6_only_

bool ipv6_only_
protected

Definition at line 470 of file rls_end2end_test.cc.

◆ key_builders_

std::vector<std::string> key_builders_
private

Definition at line 403 of file rls_end2end_test.cc.

◆ lookup_service_timeout_

grpc_core::Duration lookup_service_timeout_
private

Definition at line 398 of file rls_end2end_test.cc.

◆ max_age_

grpc_core::Duration max_age_
private

Definition at line 400 of file rls_end2end_test.cc.

◆ metadata

std::vector<std::pair<std::string, std::string> > metadata

Definition at line 241 of file rls_end2end_test.cc.

◆ mu_

std::set<std::string> rls_header_data_ ABSL_GUARDED_BY& mu_
private

Definition at line 125 of file rls_end2end_test.cc.

◆ port_

const int port_

Definition at line 462 of file rls_end2end_test.cc.

◆ resolver_response_generator_

std::unique_ptr<FakeResolverResponseGeneratorWrapper> resolver_response_generator_
protected

Definition at line 474 of file rls_end2end_test.cc.

◆ response_generator_

Definition at line 159 of file rls_end2end_test.cc.

◆ rls_server_

std::unique_ptr<ServerThread<RlsServiceImpl> > rls_server_
protected

Definition at line 472 of file rls_end2end_test.cc.

◆ rls_server_port_

int rls_server_port_
private

Definition at line 397 of file rls_end2end_test.cc.

◆ running_

bool running_ = false

Definition at line 467 of file rls_end2end_test.cc.

◆ server_

std::unique_ptr<Server> server_

Definition at line 465 of file rls_end2end_test.cc.

◆ service_

T service_

Definition at line 464 of file rls_end2end_test.cc.

◆ stale_age_

grpc_core::Duration stale_age_
private

Definition at line 401 of file rls_end2end_test.cc.

◆ stub_

std::unique_ptr<grpc::testing::EchoTestService::Stub> stub_
protected

Definition at line 476 of file rls_end2end_test.cc.

◆ thread_

std::unique_ptr<std::thread> thread_

Definition at line 466 of file rls_end2end_test.cc.

◆ timeout_ms

int timeout_ms = 1000

Definition at line 239 of file rls_end2end_test.cc.

◆ type_

grpc::string type_

Definition at line 463 of file rls_end2end_test.cc.

◆ wait_for_ready

bool wait_for_ready = false

Definition at line 240 of file rls_end2end_test.cc.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:28