summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | solved design issue with queue terminationRainer Gerhards2009-05-2610-31/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... and also improved the test suite. There is a design issue in the v3 queue engine that manifested to some serious problems with the new processing mode. However, in v3 shutdown may take eternally if a queue runs in DA mode, is configured to preserve data AND the action fails and retries immediately. There is no cure available for v3, it would require doing much of the work we have done on the new engine. The window of exposure, as one might guess from the description, is very small. That is probably the reason why we have not seen it in practice.
* | | | fixing some minor nitsRainer Gerhards2009-05-251-1/+1
| | | |
* | | | Merge branch 'master' into ultra-reliableRainer Gerhards2009-05-254-1/+94
|\| | | | | | | | | | | | | | | | | | | Conflicts: tests/Makefile.am
| * | | added test suite for persistent queue shutdownRainer Gerhards2009-05-254-1/+92
| | | |
* | | | Merge branch 'master' into ultra-reliableRainer Gerhards2009-05-256-5/+60
|\| | |
| * | | solved some issues with testbench & a race conditionRainer Gerhards2009-05-252-3/+6
| | | |
| * | | improved testbench / solved imdiag race conditionRainer Gerhards2009-05-254-2/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | imdiag/imtcp had a modload race condition (as imdiag is a testing aid, this has no implications for production deployments). Also, I replaced netcat by a custom program to talk to imdiag. This, for the first time ever, is now a Java program. I plan to add some GUI troubleshooting tools and thought it is a good idea to start doing things in Java that can simply be done in that language.
* | | | Merge branch 'master' into ultra-reliableRainer Gerhards2009-05-2510-6/+17
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: tests/Makefile.am tests/diskqueue.sh
| * | | added new testing module imdiagRainer Gerhards2009-05-2510-6/+17
| | | | | | | | | | | | | | | | | | | | which enables to talk to the rsyslog core at runtime. The current implementation is only a beginning, but can be expanded over time
| * | | fixing some nits with the build systemRainer Gerhards2009-05-221-1/+1
| | | |
* | | | Merge branch 'master' into ultra-reliableRainer Gerhards2009-05-2215-35/+262
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: runtime/rsyslog.h tests/Makefile.am tools/syslogd.c
| * | | added capability to run multiple tcp listeners (on different ports)Rainer Gerhards2009-05-2216-37/+265
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Well, actually this and a lot of related things. I improved the testbench so that the new capabilities are automatically tested and also did some general cleanup. The current multiple tcp listener solution will probably receive some further cleanup, too, but looks quite OK so far. I also reviewed the way tcpsrv et all work, in preparation of using this code for imdiag. I need to document the findings, especially as the code is rather complicated "thanks" to the combination of plain tcp and gssapi transport modes.
* | | | added explicit (base) test for linkedList and FixedArray queue modesRainer Gerhards2009-05-205-1/+86
| | | |
* | | | queue size calculation now based on logical/physical dequeueRainer Gerhards2009-05-192-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | ... needed to split the old single counter into two. I wouldn't bet that I made some mistakes while doing so, but at least some ad-hoc tests plus the testbench do no longer indicate errors.
* | | | Merge branch 'master' into tmpRainer Gerhards2009-05-192-2/+6
|\| | | | | | | | | | | | | | | | | | | Conflicts: tests/Makefile.am
| * | | Do not fail "make check" if omstdout is not enabledMichael Biebl2009-05-191-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only run omod-if-array.sh and parsertest.sh test if omstdout plugin is enabled. Remove the comment and fix the help output for --enable-stdout (default was "no", not "yes") Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
| * | | Fix compiler warningsMichael Biebl2009-05-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | include <string.h> for memcpy and strlen. Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | | t-delete list implemented, queue store drivers updated...Rainer Gerhards2009-05-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | ... on the way to the ultra-reliable queue modes (redesign doc). This version does not really work, but is a good commit point. Next comes queue size calculation. DA mode does not yet work.
* | | | added test for property replacer field functionality to testbenchRainer Gerhards2009-05-131-1/+11
| | | | | | | | | | | | | | | | plus some cosmetic changes
* | | | fixed abort condition in DA modeRainer Gerhards2009-04-232-4/+0
| | | |
* | | | added $MainMsgQueueDequeueBatchSize and $ActionQueueDequeueBatchSize ↵Rainer Gerhards2009-04-231-0/+2
| | | | | | | | | | | | | | | | configuration directives
* | | | improving debugging info a bitRainer Gerhards2009-04-231-1/+3
| | | |
* | | | added test for DA queue mode (in main msg queue) - needs more workRainer Gerhards2009-04-224-7/+95
|/ / / | | | | | | | | | | | | | | | | | | | | | The problem is that the rsyslog engine writes messages too quickly, so that the queue never enters DA mode. We still have some look contemption. One possible solution (hopefully) is to finally move the parser code out of imtcp and onto the next thread. Need to address these issues first, then come back to the test case.
* | | improved testbench - added tests for queue disk-only modeRainer Gerhards2009-04-173-1/+50
| | |
* | | bugfix: missing header (platform compatibility issue)v4.3.0Rainer Gerhards2009-04-171-0/+1
| | |
* | | cosmetic fix (status message)Rainer Gerhards2009-04-091-2/+0
| | |
* | | removed MSG_NOSIGNAL & provided work-aroundRainer Gerhards2009-04-091-1/+10
| | | | | | | | | | | | | | | as this send() option is not supported on Solaris. We now simply ignore SIGPIPE
* | | implemented $MaxOpenFiles directive and changed testbenchRainer Gerhards2009-04-143-16/+60
| | | | | | | | | | | | ... to utilize it. This work is not yet fully verified to be correct.
* | | fixed testbench compilation problem on SolarisRainer Gerhards2009-04-092-1/+4
| | | | | | | | | | | | | | | Solaris network libraries needed to be specified in linker options
* | | working some more on "make distcheck"Rainer Gerhards2009-04-092-1/+4
| | | | | | | | | | | | ... this time I think successfully (at least on Fedora...)
* | | fixing "make distcheck"Rainer Gerhards2009-04-091-0/+11
| | |
* | | removed accidently added binaryRainer Gerhards2009-04-091-0/+0
| | |
* | | minor cleanupRainer Gerhards2009-04-082-1/+1
| | |
* | | added new test case for many tcp connectionsRainer Gerhards2009-04-085-2/+339
| | | | | | | | | | | | | | | | | | | | | It is checked that many tcp connections are properly handled. While adding this test, I noticed that there is a bug in imtcp that prevents creation of more than 200 connections. This bug still exists, so the test suite currently fails (what is correct). Will be addressed soon.
* | | fixed some portability issuesRainer Gerhards2009-03-164-4/+20
| | | | | | | | | | | | | | | first noticed on FreeBSD Also, some cosmetic improvements.
* | | improved testbench, added tests for tcp-based receptionRainer Gerhards2009-04-086-24/+129
| | |
* | | testcase added (on user request)Rainer Gerhards2009-04-061-0/+3
| | |
* | | improved internal handling of RainerScript functionsRainer Gerhards2009-04-061-2/+2
|/ / | | | | | | | | | | | | - building the necessary plumbing to support more functions with decent runtime performance. This is also necessary towards the long-term goal of loadable library modules. - added new RainerScript function "tolower"
* | made sure udptester terminates only after rsyslgod it spawnedRainer Gerhards2009-04-061-0/+2
| | | | | | | | | | | | | | We noticed this race issue under Solaris (thanks to its different scheduler, I guess). In some cases, the previous instance of rsyslogd was not terminated, resulting in a failure on the next test. Now handled correctly.
* | improved parser test suiteRainer Gerhards2009-04-036-0/+18
| | | | | | | | new tests added, now much better
* | improved test suite and added test for new output module interfaceRainer Gerhards2009-04-0313-25/+69
| | | | | | | | | | | | | | | | The testbench has now a generic driver that can run a whole class of test suites just by providing a config file and test cases. This does not cover all testing needs, but a lot. We have now added one test for the new array-passing output plugin interface.
* | fixed some problems with "make check"Demo2009-03-313-4/+2
| | | | | | | | | | interestingly, they manifested on Debian, only, but potentially existed on other platforms, too.
* | porting parser tests to solarisRainer Gerhards2009-03-313-35/+64
| |
* | Merge branch 'master' into sol-testRainer Gerhards2009-03-319-6/+313
|\ \ | | | | | | | | | | | | Conflicts: tests/Makefile.am
| * | bugfix: "make distcheck" did not workRainer Gerhards2009-03-312-5/+9
| | |
| * | changed parser test suite to be c-program basedRainer Gerhards2009-03-315-88/+270
| | | | | | | | | | | | | | | | | | | | | | | | I finally removed the tcl script because tcl costs a lot of time if you do not invest the full learning cycle, plus I have not everything avaible I need on Solaris. With C, I am quicker and I also can create a superior solution. So I finally switched. Took much less time than the initial tcl script...
| * | solved some more issues with "make [dist]check"Rainer Gerhards2009-03-274-7/+4
| | | | | | | | | | | | especially when executed as non-root
| * | fixed a couple of nits with "make [dist]check"Rainer Gerhards2009-03-275-5/+20
| | |
| * | added some missing files in tests Makefile.amRainer Gerhards2009-03-262-21/+14
| | |
| * | initial parser testing suite addedRainer Gerhards2009-03-269-6/+32
| | | | | | | | | | | | | | | | | | integrated tcl test script into autotools make check, created a few test cases based a real-world sample and samples from RFC3164 and 5424.