2.91. test_tcp module

class test_tcp.TestTCP(methodName='runTest')

Bases: framework.VppTestCase

TCP Test Case

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

classmethod tearDownClass()

Perform final cleanup after running all tests in this test-case

test_tcp_transfer()

TCP echo client/server transfer

class test_tcp.TestTCPUnitTests(methodName='runTest')

Bases: framework.VppTestCase

TCP Unit Tests

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

classmethod tearDownClass()

Perform final cleanup after running all tests in this test-case

test_tcp_unittest()

TCP Unit Tests