aboutsummaryrefslogtreecommitdiff
path: root/src/compat/nanomsg/compat_tcp_test.c
Commit message (Collapse)AuthorAge
* Remove the libnanomsg compatibility layerGarrett D'Amore2024-10-22
|
* remove legacy support for configuration of transport options on socketGarrett D'Amore2024-10-20
| | | | | | | | | Transport specific options should be configured on the end point. This has the most impact for TLS, as TLS dialers and listeners will need to be allocated apriori, to configure TLS options. Some legacy tests were removed... we're going to remove the legacy libnanomsg compatibility layer anyway.
* fixes #1398 integrate new acutest.h (#1400)Garrett D'Amore2021-01-03
|
* New NUTS test framework (NNG Unit Test Support).Garrett D'Amore2020-11-23
| | | | | | | | | | | | | This is based on testutil/acutest, but is cleaner and fixes some short-comings. We will be adding more support for additional common paradigms to better facilitate transport tests. While here we added some more test cases, and fixed a possible symbol collision in the the stats framework (due to Linux use of a macro definition of "si_value" in a standard OS header). Test coverage may regress slightly as we are no longer using some of the legacy APIs.
* tcp batch test is fragile.Garrett D'Amore2020-01-20
| | | | | | | | | This can depend completely on the underlying TCP stack deciding to segment -- for example if we get context away for a bit, the stack in kernel can decide to go ahead and close the segment. There isn't anything useful that this test is testing for, and it breaks randomly in CI.
* fixes #1163 compat tests are very brittleGarrett D'Amore2020-01-20
This only addresses the newly rewitten compat_tcp test, but it sets the groundwork for the other tests, so that when they are updated to the new acutest.h they can use the new marry code to establish connections cleanly and safely.