*** 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
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