]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Test] See that merged test cases use settings 5828/head
authorAndrew Lewis <nerf@judo.za.org>
Wed, 7 Jan 2026 09:38:52 +0000 (11:38 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Wed, 7 Jan 2026 09:38:52 +0000 (11:38 +0200)
test/functional/cases/001_merged/109_composites_postfilter.robot
test/functional/cases/001_merged/240_redis.robot

index 8205948c52618b4a0d0c226a1e37a16c76c8c4a9..020264247c6d56437b899b64da76d46ec31ec6ae 100644 (file)
@@ -6,11 +6,13 @@ Variables       ${RSPAMD_TESTDIR}/lib/vars.py
 *** Variables ***
 ${MESSAGE}      ${RSPAMD_TESTDIR}/messages/spam_message.eml
 ${RSPAMD_LUA_SCRIPT}  ${RSPAMD_TESTDIR}/lua/composites_postfilter.lua
+${SETTINGS_COMPOSITES_POSTFILTER}  symbols_enabled [TEST_FILTER_SYM, TEST_POSTFILTER_COMPOSITE, TEST_POSTFILTER_SYM]
 
 *** Test Cases ***
 Composite With Postfilter And Filter
   [Documentation]  Test that composite with postfilter + filter symbols works correctly (issue #5674)
   Scan File  ${MESSAGE}
+  ...  Settings=${SETTINGS_COMPOSITES_POSTFILTER}
   Expect Symbol With Score  TEST_POSTFILTER_COMPOSITE  10.0
   Do Not Expect Symbol  TEST_FILTER_SYM
   Do Not Expect Symbol  TEST_POSTFILTER_SYM
index 3196dd0c62e66d771ec6efb100df06b213434a49..0fe8a6557e8f840871111e4273e631c6a27c8669 100644 (file)
@@ -11,6 +11,7 @@ ${SETTINGS_REDIS}     {symbols_enabled = [REDIS_TEST, SIMPLE_REDIS_ASYNC_TEST, S
 Redis client
   Redis SET  test_key  test value
   Scan File  ${MESSAGE}
+  ...  Settings=${SETTINGS_REDIS}
   Expect Symbol With Exact Options  REDIS  hello from lua on redis
   Expect Symbol With Exact Options  REDIS_ASYNC  test value
   Expect Symbol With Exact Options  REDIS_ASYNC201809  test value