aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/lib/rspamd.py
Commit message (Collapse)AuthorAgeFilesLines
* [Test] Use automatically exported variablesAndrew Lewis2021-05-041-5/+5
|
* [Test] Use HTTP & simplified test styleAndrew Lewis2020-09-071-2/+12
|
* [Test] Use Python3 for functional testsAndrew Lewis2020-06-251-95/+18
| | | | | | | - Fix more deprecated Robot Framework syntax - Remove log following - Remove some artefacts in teardown - Restore use of demjson
* [Test] Various robot fixesVsevolod Stakhov2019-07-191-0/+23
|
* [Test] Fix permissions maskVsevolod Stakhov2019-06-241-1/+8
|
* [Minor] Fix ClickHouse test after upgradeAnton Yuzhaninov2019-06-201-1/+8
| | | | | | | | Current ClickHouse version refuses to run from root if data directory is not owned by root. Run it from user clickhouse as it supposed to be run. Also cleanup ClickHouse config (some options prevented it to start, others just unnecessary).
* [Test] Fix json testsVsevolod Stakhov2019-06-041-0/+1
|
* [Test] Add functional tests for ssl in lua_tcpVsevolod Stakhov2019-05-311-8/+6
|
* Speedup lua coverage collecting for functional testAnton Yuzhaninov2018-10-271-28/+65
| | | | | | | | | | | luacov-coveralls merge mode (-j flag) was created to join reports containing coverage for different source files (e.g. C and Lua code). Coverage for the same file in two report is not merged, instead one source file is added several times to source_files array in JSON. As a result if we use luacov-coveralls -j on report for same source files it ends up spending a lot of time on parsing and dumping big JSON files. This change reduces functional test time from 7+ minutes to 4+ minutes.
* TCP Connect robot keywordAnton Yuzhaninov2018-10-241-0/+7
| | | | | * reduce timeout to a reasonable value * explicitly close socket, don't wait for GC
* Cleanup unused importsAnton Yuzhaninov2018-10-161-3/+0
|
* [functional test] Fix races in shutdown_processAnton Yuzhaninov2018-10-161-22/+19
| | | | | | | | Currently functional test sometimes fails with and error: Teardown failed: NoSuchProcess: psutil.NoSuchProcess process no longer exists (pid=2259) Rewrite process termination - there is no need to send signals in a loop many times.
* [Test] Collect coverage from rspamd workersMikhail Galanin2018-10-081-0/+106
|
* [Minor] Close file once it is not neededMikhail Galanin2018-09-271-4/+4
|
* Merge branch 'master' into rspamadm-coroutinesMikhail Galanin2018-09-101-1/+7
|\
| * [Test] Small refactoring in dummy services testMikhail Galanin2018-09-071-0/+5
| | | | | | | | | | Moved code for pid writing and terminating into a separated module. Also added cleanup: in some cases, processes remained in the system after test is done. It should not happen anymore
* | [Test] Added more test for rspamadm and test for lua tcp client invoked via ↵Mikhail Galanin2018-09-051-0/+9
|/ | | | rspamadm
* [Test] Improved process termination in testsMikhail Galanin2018-08-221-10/+26
|
* [Test] Save logs and config once a test has been doneMikhail Galanin2018-08-131-0/+20
|
* [Test] Relax controller errors checkAndrew Lewis2017-09-131-23/+0
|
* [Minor] Tests: don't try bind portsAndrew Lewis2017-06-301-20/+0
|
* [Test] Check controller's error bufferAndrew Lewis2017-06-011-0/+28
|
* [Minor] Fix testsAndrew Lewis2017-05-191-0/+12
|
* [Test] Some tests for antivirus moduleAndrew Lewis2017-03-061-1/+1
|
* [Test] Wait for ports to be confirmed-free inbetween runsAndrew Lewis2016-10-171-1/+24
|
* [Test] Test fuzzy replicationAndrew Lewis2016-10-131-0/+3
|
* [Test] Use out of tree build for tests/code coverageAndrew Lewis2016-08-161-1/+1
| | | | - Also a loosely-related fix for test library
* [Test] Rework fuzzy testsAndrew Lewis2016-08-141-0/+5
| | | | | | | - Add fuzzy & negative match tests - Check attachment & text samples - Add suites for different algorithms; keyed/unkeyed - Move overwrite/delete tests into general suite
* [Test] Some basic tests for JSON sanityAndrew Lewis2016-08-031-0/+20
|
* [Test] Replace get_process_children with psutil functionAndrew Lewis2016-08-021-14/+2
|
* [Test] Fix pathsAndrew Lewis2016-07-281-4/+4
|
* [Test] Rework tests framework to run in a custom environmentVsevolod Stakhov2016-07-281-4/+27
|
* [Test] Try harder to kill rspamd + child processes to avoid cascading failuresAndrew Lewis2016-07-251-7/+30
|
* [Test] Add test for legacy RSPAMC protocolAndrew Lewis2016-07-221-0/+13
|
* [Test] Fix braindamaged shutdown_process functionAndrew Lewis2016-07-211-10/+5
|
* [Test] Fix scan file testAndrew Lewis2016-07-171-1/+1
|
* [Test] Add & rework functional testsAndrew Lewis2016-07-021-7/+1
| | | | | | - Machine formatted test data - More idiomatic use of test framework - Added tests for fuzzy & redis statistics
* [Test] Fix Python3 compatibilityAndrew Lewis2016-06-291-7/+14
|
* [Test] New functional test frameworkAndrew Lewis2016-06-271-0/+87