#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"
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) |
#define CALL_DEADLINE_S 30 |
Definition at line 35 of file max_connection_age.cc.
#define CQ_MAX_CONNECTION_AGE_GRACE_WAIT_TIME_S 2 |
Definition at line 43 of file max_connection_age.cc.
#define CQ_MAX_CONNECTION_AGE_WAIT_TIME_S 1 |
Definition at line 40 of file max_connection_age.cc.
#define IMMEDIATE_SHUTDOWN_GRACE_TIME_MS 3000 |
Definition at line 45 of file max_connection_age.cc.
#define MAX_CONNECTION_AGE_GRACE_MS 1000 |
Definition at line 31 of file max_connection_age.cc.
#define MAX_CONNECTION_AGE_JITTER_MULTIPLIER 1.1 |
Definition at line 34 of file max_connection_age.cc.
#define MAX_CONNECTION_AGE_MS 500 |
Definition at line 30 of file max_connection_age.cc.
#define MAX_CONNECTION_IDLE_MS 9999 |
Definition at line 32 of file max_connection_age.cc.
|
static |
Definition at line 49 of file max_connection_age.cc.
|
static |
Definition at line 69 of file max_connection_age.cc.
void max_connection_age | ( | grpc_end2end_test_config | config | ) |
Definition at line 356 of file max_connection_age.cc.
void max_connection_age_pre_init | ( | void | ) |
Definition at line 361 of file max_connection_age.cc.
|
static |
Definition at line 63 of file max_connection_age.cc.
|
static |
Definition at line 57 of file max_connection_age.cc.
|
static |
Definition at line 47 of file max_connection_age.cc.
|
static |
Definition at line 78 of file max_connection_age.cc.
|
static |
Definition at line 220 of file max_connection_age.cc.