userver: pytest_userver.chaos Namespace Reference
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
pytest_userver.chaos Namespace Reference

Detailed Description

Python module that provides testsuite support for chaos tests; see Chaos Testing for an introduction.

Classes

class  BaseError
 
class  BaseGate
 This base class maintain endpoints of two types: More...
 
class  ConnectionClosedError
 
class  GateRoute
 Class that describes the route for TcpGate or UdpGate. More...
 
class  TcpGate
 Implements TCP chaos-proxy logic such as accepting incoming tcp client connections. More...
 
class  UdpGate
 Implements UDP chaos-proxy logic such as demuxing incoming datagrams from different clients. More...
 

Functions

 _create_callqueue (obj)
 
 _wait_for_data (sock, timeout=60.0)
 

Function Documentation

◆ _create_callqueue()

pytest_userver.chaos._create_callqueue ( obj)
protected

Definition at line 1059 of file chaos.py.

◆ _wait_for_data()

pytest_userver.chaos._wait_for_data ( sock,
timeout = 60.0 )
protected

Definition at line 1076 of file chaos.py.