commit fb480c4: [Test] Sigh, another try to fix robot

Vsevolod Stakhov vsevolod at highsecure.ru
Wed Jul 17 13:42:06 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-07-17 14:38:20 +0100
URL: https://github.com/rspamd/rspamd/commit/fb480c416919857c208a6c33e779d8417479b381 (HEAD -> master)

[Test] Sigh, another try to fix robot

---
 src/lua/lua_task.c                     | 2 +-
 test/functional/cases/330_neural.robot | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c
index e40afed3e..8d943ed1f 100644
--- a/src/lua/lua_task.c
+++ b/src/lua/lua_task.c
@@ -4950,7 +4950,7 @@ lua_task_set_settings (lua_State *L)
 	LUA_TRACE_POINT;
 	struct rspamd_task *task = lua_check_task (L, 1);
 	ucl_object_t *settings;
-	const ucl_object_t *act, *elt, *metric_elt, *vars, *cur;
+	const ucl_object_t *act, *metric_elt, *vars, *cur;
 	ucl_object_iter_t it = NULL;
 	struct rspamd_metric_result *mres;
 	guint i;
diff --git a/test/functional/cases/330_neural.robot b/test/functional/cases/330_neural.robot
index 0b8e42ddd..6681de14b 100644
--- a/test/functional/cases/330_neural.robot
+++ b/test/functional/cases/330_neural.robot
@@ -63,6 +63,7 @@ Check Neural SPAM INVERSE
 Neural Setup
   ${PLUGIN_CONFIG} =  Get File  ${TESTDIR}/configs/neural.conf
   Set Suite Variable  ${PLUGIN_CONFIG}
+  Set Suite Variable  ${LUA_SCRIPT}
   Generic Setup  PLUGIN_CONFIG
   Run Redis
 


More information about the Commits mailing list