Macros | Functions
max_connection_age.cc File Reference
#include <limits.h>
#include <string.h>
#include <grpc/support/log.h>
#include <grpc/support/sync.h>
#include <grpc/support/time.h>
#include "src/core/lib/gpr/useful.h"
#include "test/core/end2end/cq_verifier.h"
#include "test/core/end2end/end2end_tests.h"
Include dependency graph for max_connection_age.cc:

Go to the source code of this file.

Macros

#define CALL_DEADLINE_S   30
 
#define CQ_MAX_CONNECTION_AGE_GRACE_WAIT_TIME_S   2
 
#define CQ_MAX_CONNECTION_AGE_WAIT_TIME_S   1
 
#define IMMEDIATE_SHUTDOWN_GRACE_TIME_MS   3000
 
#define MAX_CONNECTION_AGE_GRACE_MS   1000
 
#define MAX_CONNECTION_AGE_JITTER_MULTIPLIER   1.1
 
#define MAX_CONNECTION_AGE_MS   500
 
#define MAX_CONNECTION_IDLE_MS   9999
 

Functions

static void drain_cq (grpc_completion_queue *cq)
 
static void end_test (grpc_end2end_test_fixture *f)
 
void max_connection_age (grpc_end2end_test_config config)
 
void max_connection_age_pre_init (void)
 
static void shutdown_client (grpc_end2end_test_fixture *f)
 
static void shutdown_server (grpc_end2end_test_fixture *f)
 
static void * tag (intptr_t t)
 
static void test_max_age_forcibly_close (grpc_end2end_test_config config)
 
static void test_max_age_gracefully_close (grpc_end2end_test_config config)
 

Macro Definition Documentation

◆ CALL_DEADLINE_S

#define CALL_DEADLINE_S   30

Definition at line 35 of file max_connection_age.cc.

◆ CQ_MAX_CONNECTION_AGE_GRACE_WAIT_TIME_S

#define CQ_MAX_CONNECTION_AGE_GRACE_WAIT_TIME_S   2

Definition at line 43 of file max_connection_age.cc.

◆ CQ_MAX_CONNECTION_AGE_WAIT_TIME_S

#define CQ_MAX_CONNECTION_AGE_WAIT_TIME_S   1

Definition at line 40 of file max_connection_age.cc.

◆ IMMEDIATE_SHUTDOWN_GRACE_TIME_MS

#define IMMEDIATE_SHUTDOWN_GRACE_TIME_MS   3000

Definition at line 45 of file max_connection_age.cc.

◆ MAX_CONNECTION_AGE_GRACE_MS

#define MAX_CONNECTION_AGE_GRACE_MS   1000

Definition at line 31 of file max_connection_age.cc.

◆ MAX_CONNECTION_AGE_JITTER_MULTIPLIER

#define MAX_CONNECTION_AGE_JITTER_MULTIPLIER   1.1

Definition at line 34 of file max_connection_age.cc.

◆ MAX_CONNECTION_AGE_MS

#define MAX_CONNECTION_AGE_MS   500

Definition at line 30 of file max_connection_age.cc.

◆ MAX_CONNECTION_IDLE_MS

#define MAX_CONNECTION_IDLE_MS   9999

Definition at line 32 of file max_connection_age.cc.

Function Documentation

◆ drain_cq()

static void drain_cq ( grpc_completion_queue cq)
static

Definition at line 49 of file max_connection_age.cc.

◆ end_test()

static void end_test ( grpc_end2end_test_fixture f)
static

Definition at line 69 of file max_connection_age.cc.

◆ max_connection_age()

void max_connection_age ( grpc_end2end_test_config  config)

Definition at line 356 of file max_connection_age.cc.

◆ max_connection_age_pre_init()

void max_connection_age_pre_init ( void  )

Definition at line 361 of file max_connection_age.cc.

◆ shutdown_client()

static void shutdown_client ( grpc_end2end_test_fixture f)
static

Definition at line 63 of file max_connection_age.cc.

◆ shutdown_server()

static void shutdown_server ( grpc_end2end_test_fixture f)
static

Definition at line 57 of file max_connection_age.cc.

◆ tag()

static void* tag ( intptr_t  t)
static

Definition at line 47 of file max_connection_age.cc.

◆ test_max_age_forcibly_close()

static void test_max_age_forcibly_close ( grpc_end2end_test_config  config)
static

Definition at line 78 of file max_connection_age.cc.

◆ test_max_age_gracefully_close()

static void test_max_age_gracefully_close ( grpc_end2end_test_config  config)
static

Definition at line 220 of file max_connection_age.cc.



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