Details
-
Test
-
Status: Closed
-
Major
-
Resolution: Done
-
proton-c-0.20.0
-
None
Description
Crate a new test exe that runs for a (configurable, default short) period of
time, with a single proactor acted on by multiple proactor and user threads. Run
with helgrind or tsan to detect races.
Exercise potentially racy APIs concurrently:
- making, accepting and closing (from both ends) a connection.
- pn_connection_wake
- pn_proactor_release_connection
- re-use of released pn_connection_t on a new connection
- timeout
- concurrent with some normal use: sending/receiving messages.