summaryrefslogtreecommitdiffstats
path: root/test/rspamd_upstream_test.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix upstream test.Vsevolod Stakhov2015-03-141-1/+3
|
* Fix order of upstream in test rotation.Vsevolod Stakhov2015-03-121-2/+2
|
* Fix test framework.Vsevolod Stakhov2015-03-121-7/+6
|
* Rework IP addresses in upstreams.Vsevolod Stakhov2014-11-071-0/+27
| | | | | | | | | - Select ipv4/unix addresses if they exist and use ipv6 for ipv6 only upstreams (since the support of ipv6 is poor in many OSes and environments). - Free IP list on upstream destruction. - Add test cases for addresses selection. - Allow adding of free form IP addresses to upstreams.
* Improve upstream tests.Vsevolod Stakhov2014-11-031-1/+31
|
* Configure upstreams in workers.Vsevolod Stakhov2014-11-031-2/+4
|
* Add consistent hash test.Vsevolod Stakhov2014-11-021-5/+43
| | | | | | | | | | P value is calculated as following: when we add/remove M upstreams from the list, the probability of hash miss should be close to the relation N / (N + M), where N is the size of the previous upstreams list. So far, the algorithm described in http://arxiv.org/abs/1406.2294 shows p value more than 0.99.
* Some more fixes to the test.Vsevolod Stakhov2014-11-021-1/+4
|
* Add a simple upstreams test.Vsevolod Stakhov2014-11-021-0/+73