]> source.dussan.org Git - rspamd.git/commitdiff
Fix order of upstream in test rotation.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 12 Mar 2015 18:32:59 +0000 (18:32 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 12 Mar 2015 18:32:59 +0000 (18:32 +0000)
test/rspamd_upstream_test.c

index bc8332c79a43d06150d905c8c025ea5900998420..69e74485350d76f6793d5f50a2d64c50d0faa623 100644 (file)
@@ -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 ();