]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Disable broken http bench
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 19 Feb 2019 18:04:03 +0000 (18:04 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 19 Feb 2019 18:04:03 +0000 (18:04 +0000)
test/CMakeLists.txt
test/rspamd_http_test.c
test/rspamd_test_suite.c

index 101cf8588bfa11fcd67e55371a9437953ad0c30c..10f0a19da866fefe99ee3b96c7a833aa7ef4bbff 100644 (file)
@@ -8,7 +8,6 @@ SET(TESTSRC             rspamd_mem_pool_test.c
                                rspamd_radix_test.c
                                rspamd_shingles_test.c
                                rspamd_upstream_test.c
-                               rspamd_http_test.c
                                rspamd_lua_pcall_vs_resume_test.c
                                rspamd_lua_test.c
                                rspamd_cryptobox_test.c
index f58d20d112596820ed8f7e64cda3a9c3d8c44672..b81cc0b8b352cd8e1e3136ec7a747044b364e3e1 100644 (file)
@@ -17,6 +17,7 @@
 #include "rspamd.h"
 #include "util.h"
 #include "libutil/http_connection.h"
+#include "libutil/http_router.h"
 #include "libutil/http_private.h"
 #include "tests.h"
 #include "ottery.h"
index 6ca8d646598bb4218ee23e93759741f06f404d71..2abce72a1c96d56413c0d1b5f1103cf69ead2ae1 100644 (file)
@@ -74,13 +74,13 @@ main (int argc, char **argv)
        g_test_add_func ("/rspamd/rrd", rspamd_rrd_test_func);
        g_test_add_func ("/rspamd/upstream", rspamd_upstream_test_func);
        g_test_add_func ("/rspamd/shingles", rspamd_shingles_test_func);
-       g_test_add_func ("/rspamd/http", rspamd_http_test_func);
        g_test_add_func ("/rspamd/lua", rspamd_lua_test_func);
        g_test_add_func ("/rspamd/cryptobox", rspamd_cryptobox_test_func);
        g_test_add_func ("/rspamd/heap", rspamd_heap_test_func);
        g_test_add_func ("/rspamd/lua_pcall", rspamd_lua_lua_pcall_vs_resume_test_func);
 
 #if 0
+       g_test_add_func ("/rspamd/http", rspamd_http_test_func);
        g_test_add_func ("/rspamd/url", rspamd_url_test_func);
        g_test_add_func ("/rspamd/statfile", rspamd_statfile_test_func);
        g_test_add_func ("/rspamd/aio", rspamd_async_test_func);