summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'v4-devel'Rainer Gerhards2009-07-084-9/+19
|\ | | | | | | | | | | Conflicts: runtime/debug.h runtime/stream.c
| * fixed a bug introduced today that lead to an abort in queue disk modeRainer Gerhards2009-07-071-1/+1
| |
| * solved a race conditionRainer Gerhards2009-07-071-1/+1
| |
| * moved zip part to writer threadRainer Gerhards2009-07-061-2/+2
| | | | | | | | | | | | ... this is necessary in preparation for the final solution (we need to have a "unified" writer). If it causes worse performance to have the zip writher togehter with the synchronous write, we may do an async write...
| * first shot at asynchronous stream writer with timeout capabilityRainer Gerhards2009-07-065-11/+21
| | | | | | | | | | ... seems to work on quick testing, but needs a far more testing and improvement. Good milestone commit.
* | re-enabled a testRainer Gerhards2009-07-031-2/+2
| |
* | added yet another forgotten file...Rainer Gerhards2009-07-021-0/+1
| |
* | Merge branch 'master' into v5-develRainer Gerhards2009-07-021-0/+1
|\| | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| * omfile itself no longer needs zlibRainer Gerhards2009-07-021-0/+1
| |
* | fixed missing file in distribution tarballRainer Gerhards2009-07-021-0/+1
| |
* | Merge branch 'master' into v5-develRainer Gerhards2009-07-011-4/+15
|\|
| * introduced the idea of detached propertiesRainer Gerhards2009-06-291-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | some things inside the message can be used over a large number of messages and need to to be allocated and re-written every time. I now begin to implement this as a "prop_t" object, first use for the inputName. Some input modules are already converted, some others to go. Will do a little performance check on the new method before I go further. Also, this commit has some cleanup and a few bug fixes that prevented compiliation in debug mode (I overlooked this as I did not compile for debug, what I normally do, and the automatted test also does not do that)
| * updated testbench to new init() behaviorRainer Gerhards2009-06-291-4/+14
| | | | | | | | | | the deferred activation of input modules broke part of the testbench - but this was a testbench issue, not one of the patch
* | Merge branch 'master' into v5-develRainer Gerhards2009-06-265-0/+80
|\|
| * added some basic multithreading tests to testbenchRainer Gerhards2009-06-265-0/+80
| |
* | Merge branch 'omfile' into v5-develRainer Gerhards2009-06-231-1/+1
|\| | | | | | | | | Conflicts: runtime/rsyslog.h
| * optimized TAG handlingRainer Gerhards2009-06-231-1/+1
| |
* | Merge branch 'omfile' into tmpRainer Gerhards2009-06-2231-37/+225
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was a complex manual merge, especially in action.c. So if there occur some problems, this would be a good point to start troubleshooting. I run a couple of tests before commiting and they all went well. Conflicts: action.c action.h runtime/queue.c runtime/queue.h runtime/wti.c runtime/wti.h
| * some cleanupRainer Gerhards2009-06-191-0/+8
| |
| * fully optimized datetime module and enhanced test suiteRainer Gerhards2009-06-1929-32/+206
| | | | | | | | tests for the various timestamp formats have been added
| * fixed abort condition with oversize tagsRainer Gerhards2009-06-182-0/+4
| | | | | | | | this was a regression I introduced this afternoon
| * cleaned up/optimized raw message handling in msg objectRainer Gerhards2009-06-182-4/+4
| |
| * going forward in moving string-handling functions to new interface...Rainer Gerhards2009-06-171-1/+3
| |
* | Merge branch 'omfile' into v5-develRainer Gerhards2009-06-168-9/+53
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note that this was NOT a trivial merge, and there may be some issues. This needs to be seen when we continue developing. Conflicts: runtime/msg.h runtime/obj.h runtime/queue.c runtime/srUtils.h runtime/stream.c runtime/stream.h runtime/wti.c tests/Makefile.am tools/omfile.c tools/syslogd.c
| * fixed small bug in testbenchRainer Gerhards2009-06-122-0/+2
| |
| * re-enabled queue disk fsync testRainer Gerhards2009-06-101-5/+3
| | | | | | | | | | | | ... actually, it was not broken, but just very slow. I have now reduced the number of test messages so that make check will not be held for an extended period of time.
| * fixed small nit in build systemRainer Gerhards2009-06-101-2/+0
| |
| * restructered code in perparation for multiple rule set supportRainer Gerhards2009-06-104-3/+12
| | | | | | | | | | | | | | ... this was long overdue, and I finlly tackeld it. It turned out to be more complex than I initially thought. The next step now probably is to actually implement multiple rule sets and the beauty that comes with them.
| * added capability to fsync() queue disk files for enhanced reliabilityRainer Gerhards2009-06-093-0/+35
| | | | | | | | | | | | | | also adds speed, because you do no longer need to run the whole file system in sync mode. New testbench and new config directives: - $MainMsgQueueSyncQueueFiles - $ActionQueueSyncQueueFiles
| * made dynafiles working againRainer Gerhards2009-06-051-1/+2
| | | | | | | | | | | | | | now only stream class is utilized. ttys, pipes and outchannel functionality is currently disabled. But the testbench worked again. Cleanup needed, will do this with next commit (it may break things and I like to have this milestone here).
* | Merge branch 'master' into v5-develRainer Gerhards2009-06-041-1/+4
|\| | | | | | | | | | | Conflicts: runtime/rsyslog.h tests/Makefile.am
| * backported some of the v5 testbenchRainer Gerhards2009-06-049-40/+119
| | | | | | | | | | | | | | | | this permits us to keep a persistent test environment between v4 and v5, most importantly using the same tools. As far as the actual tests are concerned, some had issues. I had no time to check if that was an issue with the test or an actual issue with the v3/4 engine. Will do that at some later stage.
* | Merge branch 'master' into v5-develRainer Gerhards2009-06-041-0/+3
|\| | | | | | | | | | | Conflicts: ChangeLog runtime/rsyslog.h
| * added config switch --enable-testbench=no to turn off testbenchRainer Gerhards2009-06-031-0/+3
| |
* | Merge branch 'master' into v5-develRainer Gerhards2009-05-284-0/+51
|\| | | | | | | | | Conflicts: tests/Makefile.am
| * Merge branch 'beta' into masterRainer Gerhards2009-05-284-1/+51
| |\ | | | | | | | | | | | | Conflicts: tests/Makefile.am
| | * Merge branch 'v3-stable' into betaRainer Gerhards2009-05-284-1/+51
| | |\ | | | | | | | | | | | | | | | | Conflicts: tests/Makefile.am
| | | * small enhancement: config validation run now exits with code 1 if an error ↵Rainer Gerhards2009-05-286-3/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | is detected. This change is considered important but small enough to apply it directly to the stable version. [But it is a border case, the change requires more code than I had hoped. Thus I have NOT tried to actually catch all cases, this is left for the current devel releases, if necessary]
* | | | some cleanup & fix make distcheckRainer Gerhards2009-05-284-4/+4
| | | |
* | | | Merge branch 'master' into v5-develRainer Gerhards2009-05-286-6/+7
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: tests/Makefile.am tests/diag.sh
| * | | fixed make distcheckRainer Gerhards2009-05-286-6/+8
| | | |
* | | | some more fixes for queue engineRainer Gerhards2009-05-284-5/+2
| | | | | | | | | | | | | | | | The enhanced testbench now runs without failures, again
* | | | fixing an issue during DA mode queue shutdownRainer Gerhards2009-05-283-6/+9
| | | | | | | | | | | | | | | | | | | | also changed DA queue mode in that the regular workers now run concurrently.
* | | | preserving current changesRainer Gerhards2009-05-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | ... in preparation for some larger changes - I need to apply some serious design changes, as the current system does not play well at all with ultra-reliable queues. Will do that in a totally new version.
* | | | interim commit: working on failure casesRainer Gerhards2009-05-272-2/+8
| | | | | | | | | | | | | | | | slightly improved situation, would like to save it before carrying on
* | | | adapted testbench to new capabilitiesRainer Gerhards2009-05-2712-101/+86
| | | | | | | | | | | | | | | | | | | | ... and now make check fails again, we have obviously found some new bugs thanks to the additional cases
* | | | Merge branch 'master' into ultra-reliableRainer Gerhards2009-05-2715-204/+184
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: tests/Makefile.am tests/diskqueue.sh tests/imtcp-multiport.sh tests/manytcp.sh tests/memq-persist.sh
| * | | fixed typoRainer Gerhards2009-05-271-3/+1
| | | |
| * | | greatly enhanced testbenchRainer Gerhards2009-05-2715-199/+186
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The imdiag module now can very effectively inject messages, which also frees us from uncertainties of tcp reception and processing. All shell script based tests have been modularized, what makes it far easier to create new tests. Also, the test bench now executes more reliable and much faster, because we can now rely on actual engine information where we previously did just a dumb sleep.
* | | | 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.