12 Commits

Author SHA1 Message Date
Rainer Gerhards
21efb64e5e testbench: support environments with limit on nbr of open sockets 2014-07-01 09:23:33 +02:00
Rainer Gerhards
8b9cef552d Merge branch 'v4-stable' into v5-stable
Conflicts:
	ChangeLog
	configure.ac
	doc/manual.html
	runtime/debug.c
	runtime/stream.c
	tests/Makefile.am
	tests/diskqueue.sh
	tests/nettester.c
	tools/omfile.c
2010-03-29 11:07:15 +02:00
Rainer Gerhards
ab8af1c38d solved some race conditions in testbench
the test cases actually have some races, not the code to be tested
2010-03-19 13:32:31 +01:00
Rainer Gerhards
970383f219 slight improvement to testing tools 2010-03-19 12:20:58 +01:00
Rainer Gerhards
4408d4137a testbench: new calling interface for tcpflood
this is a perquisite to support more flexible testing modes, which
could not intelligently be implemented with the old interface
2010-03-10 11:07:26 +01:00
Rainer Gerhards
9079f66830 improved testbench
- added a test to check handling of damaged .qi files on startup
- made sure each test identifies itself on startup
2009-10-21 15:17:19 +02:00
Rainer Gerhards
a900a7c34b greatly enhanced testbench
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.
2009-05-27 11:29:47 +02:00
Rainer Gerhards
eb1615068c added new testing module imdiag
which enables to talk to the rsyslog core at runtime. The current
implementation is only a beginning, but can be expanded over time
2009-05-25 10:47:22 +02:00
Rainer Gerhards
04272876d1 implemented $MaxOpenFiles directive and changed testbench
... to utilize it. This work is not yet fully verified to be correct.
2009-04-14 13:52:07 +02:00
Rainer Gerhards
d2d8cc9c1b fixed testbench compilation problem on Solaris
Solaris network libraries needed to be specified
in linker options
2009-04-09 14:45:23 +02:00
Rainer Gerhards
e07b3f380f working some more on "make distcheck"
... this time I think successfully (at least on Fedora...)
2009-04-09 18:51:21 +02:00
Rainer Gerhards
7cc7166cb2 added new test case for many tcp connections
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.
2009-04-08 17:48:02 +02:00