commit 1dcc9a6: [Minor] Disable broken http bench

Vsevolod Stakhov vsevolod at highsecure.ru
Tue Feb 19 18:07:03 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-02-19 18:04:03 +0000
URL: https://github.com/rspamd/rspamd/commit/1dcc9a69cc63708cb30899202ddd945ff64844f0 (HEAD -> master)

[Minor] Disable broken http bench

---
 test/CMakeLists.txt      | 1 -
 test/rspamd_http_test.c  | 1 +
 test/rspamd_test_suite.c | 2 +-
 3 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 101cf8588..10f0a19da 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -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
diff --git a/test/rspamd_http_test.c b/test/rspamd_http_test.c
index f58d20d11..b81cc0b8b 100644
--- a/test/rspamd_http_test.c
+++ b/test/rspamd_http_test.c
@@ -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"
diff --git a/test/rspamd_test_suite.c b/test/rspamd_test_suite.c
index 6ca8d6465..2abce72a1 100644
--- a/test/rspamd_test_suite.c
+++ b/test/rspamd_test_suite.c
@@ -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);


More information about the Commits mailing list