Classes | Functions | Variables
tests.unit._server_shutdown_scenarios Namespace Reference

Classes

class  GenericHandler
 

Functions

def fork_and_exit (request, servicer_context)
 
def run_server (port_queue)
 
def run_test (args)
 

Variables

 args = parser.parse_args()
 
string FORK_EXIT = '/test/ForkExit'
 
 parser = argparse.ArgumentParser()
 
string REQUEST = b'request'
 
string RESPONSE = b'response'
 
string SERVER_DEALLOCATED = 'server_deallocated'
 
string SERVER_FORK_CAN_EXIT = 'server_fork_can_exit'
 
string SERVER_RAISES_EXCEPTION = 'server_raises_exception'
 
 type
 
int WAIT_TIME = 1000
 

Function Documentation

◆ fork_and_exit()

def tests.unit._server_shutdown_scenarios.fork_and_exit (   request,
  servicer_context 
)

Definition at line 40 of file _server_shutdown_scenarios.py.

◆ run_server()

def tests.unit._server_shutdown_scenarios.run_server (   port_queue)

Definition at line 56 of file _server_shutdown_scenarios.py.

◆ run_test()

def tests.unit._server_shutdown_scenarios.run_test (   args)

Definition at line 67 of file _server_shutdown_scenarios.py.

Variable Documentation

◆ args

tests.unit._server_shutdown_scenarios.args = parser.parse_args()

Definition at line 96 of file _server_shutdown_scenarios.py.

◆ FORK_EXIT

string tests.unit._server_shutdown_scenarios.FORK_EXIT = '/test/ForkExit'

Definition at line 37 of file _server_shutdown_scenarios.py.

◆ parser

tests.unit._server_shutdown_scenarios.parser = argparse.ArgumentParser()

Definition at line 94 of file _server_shutdown_scenarios.py.

◆ REQUEST

string tests.unit._server_shutdown_scenarios.REQUEST = b'request'

Definition at line 30 of file _server_shutdown_scenarios.py.

◆ RESPONSE

string tests.unit._server_shutdown_scenarios.RESPONSE = b'response'

Definition at line 31 of file _server_shutdown_scenarios.py.

◆ SERVER_DEALLOCATED

string tests.unit._server_shutdown_scenarios.SERVER_DEALLOCATED = 'server_deallocated'

Definition at line 34 of file _server_shutdown_scenarios.py.

◆ SERVER_FORK_CAN_EXIT

string tests.unit._server_shutdown_scenarios.SERVER_FORK_CAN_EXIT = 'server_fork_can_exit'

Definition at line 35 of file _server_shutdown_scenarios.py.

◆ SERVER_RAISES_EXCEPTION

string tests.unit._server_shutdown_scenarios.SERVER_RAISES_EXCEPTION = 'server_raises_exception'

Definition at line 33 of file _server_shutdown_scenarios.py.

◆ type

tests.unit._server_shutdown_scenarios.type

Definition at line 95 of file _server_shutdown_scenarios.py.

◆ WAIT_TIME

int tests.unit._server_shutdown_scenarios.WAIT_TIME = 1000

Definition at line 28 of file _server_shutdown_scenarios.py.



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