table.insert(script.waitq, do_call)
else
-- TODO: fix taskfull requests
- callback('NOSCRIPT', nil)
+ table.insert(script.waitq, function()
+ if script.loaded then
+ do_call(false)
+ else
+ callback('NOSCRIPT', nil)
+ end
+ end)
+ load_script_task(script, params.task)
end
end
*** Test Cases ***
Train Spam
+ Sleep 2s Wait for redis mess
: FOR ${INDEX} IN RANGE 0 10
\ ${result} = Scan Message With Rspamc ${MESSAGE} --header Settings={symbols_enabled = ["SPAM_SYMBOL"]}
\ Check Rspamc ${result} SPAM_SYMBOL (1.00)