2.92. test_quic module¶
Vpp QUIC tests
-
class
test_quic.
QUICAppWorker
(build_dir, appname, executable_args, logger, role, testcase, env=None, *args, **kwargs)¶ Bases:
framework.Worker
QUIC Test Application Worker
-
process
= None¶
-
run
()¶ Method representing the thread’s activity.
You may override this method in a subclass. The standard run() method invokes the callable object passed to the object’s constructor as the target argument, if any, with sequential and keyword arguments taken from the args and kwargs arguments, respectively.
-
teardown
(logger, timeout)¶
-
-
class
test_quic.
QUICEchoExtEarlyQcloseRxTestCase
(methodName='runTest')¶ Bases:
test_quic.QUICEchoExtTestCase
QUIC Echo External Transfer Early Qclose Rx Test Case
-
test_quic_ext_early_qclose_rx
()¶ QUIC external transfer, early rx close
-
-
class
test_quic.
QUICEchoExtEarlyQcloseTxTestCase
(methodName='runTest')¶ Bases:
test_quic.QUICEchoExtTestCase
QUIC Echo External Transfer Early Qclose Tx Test Case
-
test_quic_ext_early_qclose_tx
()¶ QUIC external transfer, early tx close
-
-
class
test_quic.
QUICEchoExtEarlyScloseRxTestCase
(methodName='runTest')¶ Bases:
test_quic.QUICEchoExtTestCase
QUIC Echo External Transfer Early Sclose Rx Test Case
-
test_quic_ext_early_sclose_rx
()¶ QUIC external transfer, early rx stream close
-
-
class
test_quic.
QUICEchoExtEarlyScloseTxTestCase
(methodName='runTest')¶ Bases:
test_quic.QUICEchoExtTestCase
QUIC Echo External Transfer Early Sclose Tx Test Case
-
test_quic_ext_early_sclose_tx
()¶ QUIC external transfer, early tx stream close
-
-
class
test_quic.
QUICEchoExtQcloseRxTestCase
(methodName='runTest')¶ Bases:
test_quic.QUICEchoExtTestCase
QUIC Echo External Transfer Qclose Rx Test Case
-
test_quic_ext_qclose_rx
()¶ QUIC external transfer, rx close
-
-
class
test_quic.
QUICEchoExtQcloseTxTestCase
(methodName='runTest')¶ Bases:
test_quic.QUICEchoExtTestCase
QUIC Echo External Transfer Qclose Tx Test Case
-
test_quic_ext_qclose_tx
()¶ QUIC external transfer, tx close
-
-
class
test_quic.
QUICEchoExtScloseRxTestCase
(methodName='runTest')¶ Bases:
test_quic.QUICEchoExtTestCase
QUIC Echo External Transfer Sclose Rx Test Case
-
test_quic_ext_sclose_rx
()¶ QUIC external transfer, rx stream close
-
-
class
test_quic.
QUICEchoExtScloseTxTestCase
(methodName='runTest')¶ Bases:
test_quic.QUICEchoExtTestCase
QUIC Echo External Transfer Sclose Tx Test Case
-
test_quic_ext_sclose_tx
()¶ QUIC external transfer, tx stream close
-
-
class
test_quic.
QUICEchoExtServerStreamBigTestCase
(methodName='runTest')¶ Bases:
test_quic.QUICEchoExtTestCase
QUIC Echo External Transfer Server Stream Big Test Case
-
client_fifo_size
= '4M'¶
-
quic_setup
= 'serverstream'¶
-
server_fifo_size
= '4M'¶
-
test_bytes
= ''¶
-
test_quic_ext_transfer_server_stream_big
()¶ QUIC external server transfer, big stream
-
timeout
= 60¶
-
-
class
test_quic.
QUICEchoExtServerStreamEarlyQcloseRxTestCase
(methodName='runTest')¶ Bases:
test_quic.QUICEchoExtTestCase
QUIC Echo External Transfer Server Stream Early Qclose Rx Test Case
-
quic_setup
= 'serverstream'¶
-
test_quic_ext_server_stream_early_qclose_rx
()¶ QUIC external server transfer, early rx close
-
-
class
test_quic.
QUICEchoExtServerStreamEarlyQcloseTxTestCase
(methodName='runTest')¶ Bases:
test_quic.QUICEchoExtTestCase
QUIC Echo External Transfer Server Stream Early Qclose Tx Test Case
-
quic_setup
= 'serverstream'¶
-
test_quic_ext_server_stream_early_qclose_tx
()¶ QUIC external server transfer, early tx close
-
-
class
test_quic.
QUICEchoExtServerStreamEarlyScloseRxTestCase
(methodName='runTest')¶ Bases:
test_quic.QUICEchoExtTestCase
QUIC Echo External Transfer Server Stream Early Sclose Rx Test Case
-
quic_setup
= 'serverstream'¶
-
test_quic_ext_server_stream_early_sclose_rx
()¶ QUIC external server transfer, early rx stream close
-
-
class
test_quic.
QUICEchoExtServerStreamEarlyScloseTxTestCase
(methodName='runTest')¶ Bases:
test_quic.QUICEchoExtTestCase
QUIC Echo Ext Transfer Server Stream Early Sclose Tx Test Case
-
quic_setup
= 'serverstream'¶
-
test_quic_ext_server_stream_early_sclose_tx
()¶ QUIC external server transfer, early tx stream close
-
-
class
test_quic.
QUICEchoExtServerStreamQcloseRxTestCase
(methodName='runTest')¶ Bases:
test_quic.QUICEchoExtTestCase
QUIC Echo External Transfer Server Stream Qclose Rx Test Case
-
quic_setup
= 'serverstream'¶
-
test_quic_ext_server_stream_qclose_rx
()¶ QUIC external server transfer, rx close
-
-
class
test_quic.
QUICEchoExtServerStreamQcloseTxTestCase
(methodName='runTest')¶ Bases:
test_quic.QUICEchoExtTestCase
QUIC Echo External Transfer Server Stream Qclose Tx Test Case
-
quic_setup
= 'serverstream'¶
-
test_quic_ext_server_stream_qclose_tx
()¶ QUIC external server transfer, tx close
-
-
class
test_quic.
QUICEchoExtServerStreamScloseRxTestCase
(methodName='runTest')¶ Bases:
test_quic.QUICEchoExtTestCase
QUIC Echo External Transfer Server Stream Sclose Rx Test Case
-
quic_setup
= 'serverstream'¶
-
test_quic_ext_server_stream_sclose_rx
()¶ QUIC external server transfer, rx stream close
-
-
class
test_quic.
QUICEchoExtServerStreamScloseTxTestCase
(methodName='runTest')¶ Bases:
test_quic.QUICEchoExtTestCase
QUIC Echo External Transfer Server Stream Sclose Tx Test Case
-
quic_setup
= 'serverstream'¶
-
test_quic_ext_server_stream_sclose_tx
()¶ QUIC external server transfer, tx stream close
-
-
class
test_quic.
QUICEchoExtServerStreamTestCase
(methodName='runTest')¶ Bases:
test_quic.QUICEchoExtTestCase
QUIC Echo External Transfer Server Stream Test Case
-
quic_setup
= 'serverstream'¶
-
test_quic_ext_transfer_server_stream
()¶ QUIC external server transfer
-
timeout
= 60¶
-
-
class
test_quic.
QUICEchoExtServerStreamWorkersTestCase
(methodName='runTest')¶ Bases:
test_quic.QUICEchoExtTestCase
QUIC Echo External Transfer Server Stream MultiWorker Test Case
-
quic_setup
= 'serverstream'¶
-
test_quic_ext_transfer_server_stream_multi_workers
()¶ QUIC external server transfer, multi-worker
-
-
class
test_quic.
QUICEchoExtTestCase
(methodName='runTest')¶ Bases:
test_quic.QUICTestCase
-
app
= 'vpp_echo'¶
-
client
(*args)¶
-
client_fifo_size
= '4M'¶
-
evt_q_len
= 16384¶
-
extra_vpp_punt_config
= ['session', '{', 'enable', 'evt_qs_memfd_seg', 'evt_qs_seg_size', '64M', 'event-queue-length', '16384', 'preallocated-sessions', '1024', 'v4-session-table-buckets', '20000', 'v4-session-table-memory', '64M', 'v4-halfopen-table-buckets', '20000', 'v4-halfopen-table-memory', '64M', 'local-endpoints-table-buckets', '250000', 'local-endpoints-table-memory', '512M', '}']¶
-
post_test_sleep
= 1¶
-
pre_test_sleep
= 1¶
-
quic_setup
= 'default'¶
-
server
(*args)¶
-
server_fifo_size
= '1M'¶
-
setUp
()¶ Clear trace before running each test
-
test_bytes
= 'test-bytes:assert'¶
-
validate_ext_test_results
()¶
-
worker_config
= 'workers 1'¶
-
-
class
test_quic.
QUICEchoExtTransferBigTestCase
(methodName='runTest')¶ Bases:
test_quic.QUICEchoExtTestCase
QUIC Echo External Transfer Big Test Case
-
client_fifo_size
= '4M'¶
-
server_fifo_size
= '4M'¶
-
test_bytes
= ''¶
-
test_quic_ext_transfer_big
()¶ QUIC external transfer, big stream
-
timeout
= 60¶
-
-
class
test_quic.
QUICEchoExtTransferTestCase
(methodName='runTest')¶ Bases:
test_quic.QUICEchoExtTestCase
QUIC Echo External Transfer Test Case
-
test_quic_ext_transfer
()¶ QUIC external transfer
-
timeout
= 60¶
-
-
class
test_quic.
QUICEchoIntMStreamTestCase
(methodName='runTest')¶ Bases:
test_quic.QUICEchoIntTestCase
QUIC Echo Internal MultiStream Test Case
-
test_quic_int_multistream_transfer
()¶ QUIC internal multi-stream transfer
-
-
class
test_quic.
QUICEchoIntSerialTestCase
(methodName='runTest')¶ Bases:
test_quic.QUICEchoIntTestCase
QUIC Echo Internal Serial Transfer Test Case
-
test_quic_serial_int_transfer
()¶ QUIC serial internal transfer
-
-
class
test_quic.
QUICEchoIntTestCase
(methodName='runTest')¶ Bases:
test_quic.QUICTestCase
QUIC Echo Internal Test Case
-
client
(*args)¶
-
extra_vpp_punt_config
= ['session', '{', 'enable', '}']¶
-
server
(*args)¶
-
setUp
()¶ Clear trace before running each test
-
tearDown
()¶ Show various debug prints after each test
-
test_bytes
= ' test-bytes'¶
-
-
class
test_quic.
QUICEchoIntTransferTestCase
(methodName='runTest')¶ Bases:
test_quic.QUICEchoIntTestCase
QUIC Echo Internal Transfer Test Case
-
test_quic_int_transfer
()¶ QUIC internal transfer
-
-
class
test_quic.
QUICTestCase
(methodName='runTest')¶ Bases:
framework.VppTestCase
QUIC Test Case
-
post_test_sleep
= 0.3¶
-
pre_test_sleep
= 0.3¶
-
setUp
()¶ Clear trace before running each test
-
classmethod
setUpClass
()¶ Perform class setup before running the testcase Remove shared memory files, start vpp and connect the vpp-api
-
tearDown
()¶ Show various debug prints after each test
-
timeout
= 20¶
-