summaryrefslogtreecommitdiff
path: root/tests/integration
AgeCommit message (Collapse)Author
13 hoursMake tcp worker multithreaded, tooDirk Engling
This shamelessly steals the model established in the UDP workers, i.e. if the kernel is able to bind multiple listening sockets to the same endpoint, we will share them across threads. If it can't, all threads will accept on the same socket. The fast path handles most of the connections, only the rare case of no data yet on the socket is offloaded to the slow path (which used to be the mainloop) for completion. This scales nicely, as the higher the load is, the higher chances are that an accept happens only after the network roundtrip to the peer completes, leading to more connections that already have data waiting for us. We also consolidate the workstruct init and deinit code, preparation for later unifying all thread state structs for all protocols (mca, udc and tcp). The config file gains a per tcp connection worker count and some docs explaining what this knob buys and costs, nudging the user to either keep it 0 or dial it up to at least 2.
28 hoursAdd test for new config paramsDirk Engling
36 hoursFix idle tests in presence of an accept filterDirk Engling
2 daysCheck for free port in the udp integration test, also speed it up by a bitDirk Engling
2 daysConsolidate all tcp/http tear down into a single http_close function to prevent a rare UAF for expiring connectionsDirk Engling
3 daysWith more workers blockingly waiting on udp sockets, we need to keep track of all sockets to shut them down on exitDirk Engling
4 daysThe main event loop(s) now also catch an EINTR and return instead of blockingDirk Engling
4 daysAdd concurrency testDirk Engling
5 daysAdd test for the revived keep aliveDirk Engling
5 daysFix some tests to match retired stats modes and wrong config file orderingDirk Engling
5 daysAdd test for the correct order of partial scrapesDirk Engling
5 daysAdd test for the error packet when a hash is blacklisted (the part I forgot in last commit)Dirk Engling
5 daysAdd test for the error packet when a hash is blacklistedDirk Engling
5 daysAdd new test for connection keep aliveDirk Engling
5 daysretrieve the address of the sending socket for comparison. In jails it might be forced to its primary addressDirk Engling
5 daysAdding the actual tests to do aforementioned 'Massively increase coverage by pulling fullscrapes and sending udp packets'Dirk Engling
5 daysMassively increase coverage by pulling fullscrapes and sending udp packetsDirk Engling
5 daysadd more checkers to the sanitizer and integration check runsDirk Engling
5 daysAdd integration test and its runnerDirk Engling