From: Vsevolod Stakhov Date: Sat, 31 Dec 2022 19:32:49 +0000 (+0000) Subject: [Test] Remove broken tests X-Git-Tag: 3.5~121 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c37d01b466c42a33d6c335cb67f0182fe8b7ef78;p=rspamd.git [Test] Remove broken tests --- diff --git a/test/functional/cases/151_rspamadm_async.robot b/test/functional/cases/151_rspamadm_async.robot index ecffb068a..bcec58495 100644 --- a/test/functional/cases/151_rspamadm_async.robot +++ b/test/functional/cases/151_rspamadm_async.robot @@ -5,7 +5,6 @@ Library Process Library ${RSPAMD_TESTDIR}/lib/rspamd.py Resource ${RSPAMD_TESTDIR}/lib/rspamd.robot Variables ${RSPAMD_TESTDIR}/lib/vars.py -Suite Teardown Terminate All Processes kill=True *** Variables *** ${CONFIG} ${RSPAMD_TESTDIR}/configs/plugins.conf @@ -25,15 +24,14 @@ Redis client Should Be Equal As Integers ${result.rc} 0 Should Be Equal ${result.stdout} true\thello from lua on redis -DNS client - ${tmpdir} = Prepare temp directory ${CONFIG} - Set test variable ${tmpdir} - ${result} = Run Process ${RSPAMADM} --var\=CONFDIR\=${tmpdir} lua -b ${RSPAMD_TESTDIR}/lua/rspamadm/test_dns_client.lua - Log ${result.stdout} - Log ${result.stderr} - Should Be Equal As Integers ${result.rc} 0 - Should Be Equal ${result.stdout} true\tk=ed25519; p=yi50DjK5O9pqbFpNHklsv9lqaS0ArSYu02qp1S0DW1Y= - Cleanup Temporary Directory ${tmpdir} +# Broken due to tmpdir override +#DNS client +# ${result} = Run Process ${RSPAMADM} --var\=CONFDIR\=${tmpdir} lua -b ${RSPAMD_TESTDIR}/lua/rspamadm/test_dns_client.lua +# Log ${result.stdout} +# Log ${result.stderr} +# Should Be Equal As Integers ${result.rc} 0 +# Should Be Equal ${result.stdout} true\tk=ed25519; p=yi50DjK5O9pqbFpNHklsv9lqaS0ArSYu02qp1S0DW1Y= +# Cleanup Temporary Directory ${tmpdir} *** Keywords *** @@ -43,7 +41,7 @@ Rspamadm test Setup Rspamadm test Teardown Dummy Http Teardown - + Redis Teardown Prepare temp directory [Arguments] ${CONFIG}