Public Member Functions | Private Attributes | List of all members
test_goaway.TestcaseGoaway Class Reference
Inheritance diagram for test_goaway.TestcaseGoaway:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, iteration)
 
def get_base_server (self)
 
def on_connection_lost (self, reason)
 
def on_data_received (self, event)
 
def on_request_received (self, event)
 
def on_send_done (self, stream_id)
 

Private Attributes

 _base_server
 
 _iteration
 
 _ready_to_send
 

Detailed Description

This test does the following:
  Process incoming request normally, i.e. send headers, data and trailers.
  Then send a GOAWAY frame with the stream id of the processed request.
  It checks that the next request is made on a different TCP connection.


Definition at line 21 of file test_goaway.py.

Constructor & Destructor Documentation

◆ __init__()

def test_goaway.TestcaseGoaway.__init__ (   self,
  iteration 
)

Definition at line 29 of file test_goaway.py.

Member Function Documentation

◆ get_base_server()

def test_goaway.TestcaseGoaway.get_base_server (   self)

Definition at line 39 of file test_goaway.py.

◆ on_connection_lost()

def test_goaway.TestcaseGoaway.on_connection_lost (   self,
  reason 
)

Definition at line 42 of file test_goaway.py.

◆ on_data_received()

def test_goaway.TestcaseGoaway.on_data_received (   self,
  event 
)

Definition at line 60 of file test_goaway.py.

◆ on_request_received()

def test_goaway.TestcaseGoaway.on_request_received (   self,
  event 
)

Definition at line 56 of file test_goaway.py.

◆ on_send_done()

def test_goaway.TestcaseGoaway.on_send_done (   self,
  stream_id 
)

Definition at line 48 of file test_goaway.py.

Member Data Documentation

◆ _base_server

test_goaway.TestcaseGoaway._base_server
private

Definition at line 30 of file test_goaway.py.

◆ _iteration

test_goaway.TestcaseGoaway._iteration
private

Definition at line 37 of file test_goaway.py.

◆ _ready_to_send

test_goaway.TestcaseGoaway._ready_to_send
private

Definition at line 36 of file test_goaway.py.


The documentation for this class was generated from the following file:


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