From: Vsevolod Stakhov Date: Thu, 12 Mar 2015 18:32:59 +0000 (+0000) Subject: Fix order of upstream in test rotation. X-Git-Tag: 0.9.0~510 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=548833c06eb83565a79166a0921e428bd88af2bd;p=rspamd.git Fix order of upstream in test rotation. --- diff --git a/test/rspamd_upstream_test.c b/test/rspamd_upstream_test.c index bc8332c79..69e744853 100644 --- a/test/rspamd_upstream_test.c +++ b/test/rspamd_upstream_test.c @@ -98,11 +98,11 @@ rspamd_upstream_test_func (void) /* Test round-robin rotation */ rspamd_upstream_test_method (ls, RSPAMD_UPSTREAM_ROUND_ROBIN, "kernel.org"); - rspamd_upstream_test_method (ls, RSPAMD_UPSTREAM_ROUND_ROBIN, "google.com"); rspamd_upstream_test_method (ls, RSPAMD_UPSTREAM_ROUND_ROBIN, "kernel.org"); - rspamd_upstream_test_method (ls, RSPAMD_UPSTREAM_ROUND_ROBIN, "microsoft.com"); rspamd_upstream_test_method (ls, RSPAMD_UPSTREAM_ROUND_ROBIN, "google.com"); rspamd_upstream_test_method (ls, RSPAMD_UPSTREAM_ROUND_ROBIN, "kernel.org"); + rspamd_upstream_test_method (ls, RSPAMD_UPSTREAM_ROUND_ROBIN, "google.com"); + rspamd_upstream_test_method (ls, RSPAMD_UPSTREAM_ROUND_ROBIN, "microsoft.com"); /* Test stable hashing */ nls = rspamd_upstreams_create ();