]> source.dussan.org Git - rspamd.git/commitdiff
[Test] Fix race condition
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 16 Mar 2020 14:10:37 +0000 (14:10 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 16 Mar 2020 14:10:37 +0000 (14:10 +0000)
test/functional/cases/330_neural.robot

index 19170e80d9c68dd34f45b0a6b5f8528f9aa8ccc3..c64e9cc0a486c713209a828950a3ed79189f70f8 100644 (file)
@@ -54,10 +54,12 @@ Check Neural SPAM INVERSE
 
 *** Keywords ***
 Neural Setup
+  ${TMPDIR} =    Make Temporary Directory
+  Set Suite Variable        ${TMPDIR}
+  Run Redis
   ${PLUGIN_CONFIG} =  Get File  ${TESTDIR}/configs/neural.conf
   Set Suite Variable  ${PLUGIN_CONFIG}
   Generic Setup  PLUGIN_CONFIG
-  Run Redis
 
 Neural Teardown
   Shutdown Process With Children  ${REDIS_PID}