diff options
-rw-r--r-- | test/functional/cases/330_neural.robot | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/test/functional/cases/330_neural.robot b/test/functional/cases/330_neural.robot index 5751ee60f..19170e80d 100644 --- a/test/functional/cases/330_neural.robot +++ b/test/functional/cases/330_neural.robot @@ -14,14 +14,11 @@ ${REDIS_SCOPE} Suite ${RSPAMD_SCOPE} Suite *** Test Cases *** -Train Spam +Train 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) - -Train Ham - : FOR ${INDEX} IN RANGE 0 10 \ ${result} = Scan Message With Rspamc ${MESSAGE} --header Settings={symbols_enabled = ["HAM_SYMBOL"]} \ Check Rspamc ${result} HAM_SYMBOL (-1.00) @@ -37,17 +34,13 @@ Check Neural SPAM Check Rspamc ${result} NEURAL_HAM_SHORT inverse=1 -Train Spam INVERSE +Train INVERSE : FOR ${INDEX} IN RANGE 0 10 \ ${result} = Scan Message With Rspamc ${MESSAGE} --header Settings={symbols_enabled = ["SPAM_SYMBOL"]; SPAM_SYMBOL = -1} \ Check Rspamc ${result} SPAM_SYMBOL (-1.00) - -Train Ham INVERSE - : FOR ${INDEX} IN RANGE 0 10 \ ${result} = Scan Message With Rspamc ${MESSAGE} --header Settings={symbols_enabled = ["HAM_SYMBOL"]; HAM_SYMBOL = 1;} \ Check Rspamc ${result} HAM_SYMBOL (1.00) - Check Neural HAM INVERSE Sleep 2s Wait for neural to be loaded ${result} = Scan Message With Rspamc ${MESSAGE} --header Settings={symbols_enabled = ["HAM_SYMBOL"];groups_enabled=["neural"]} |