summaryrefslogtreecommitdiffstats
path: root/test/functional
Commit message (Collapse)AuthorAgeFilesLines
* Add git repo info to coveralls payloadAnton Yuzhaninov2018-10-151-0/+14
| | | | | Again other implementations were used as reference, because API is not fully documented.
* Drone coverage fix (#2592)Anton Yuzhaninov2018-10-141-6/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Build as nobody This showld fix coverage files writing. At least some coverage files (*.gcda, *.gcno) are written by rspamd running as nobody. * Comment luacov-coveralls * Run rspamd-test as nobody too * Run coveralls from build root (/rspamd/build) It need to find all `.gcda` files. * Hack for coveralls was moved to Docker image * Add test debug * More debug * Workaround to writing *.gcda from different users *.gcda files written in parallel by root and by nobody * Remove debug * Use current build number instead of previous * Remove unused variable * Add more parameters - If CI detected we don't need to check if service_job_id and other fields in json already filled - this info anyway comes from environment - coveralls.io API is not documented. Code from: https://github.com/lemurheavy/coveralls-ruby/ and https://github.com/coveralls-clients/coveralls-python/ was used as an example. * In case of error there is no url in json respnse Print message field anyway - it can contain useful error message. * Add debug * Simplify * Fix: for pull request CI_BUILD_EVENT set to 'pull_request' * Remove debug
* [Minor] Python...Vsevolod Stakhov2018-10-131-1/+1
|
* [Minor] Python...Vsevolod Stakhov2018-10-131-3/+3
|
* [Minor] Fucking pythonVsevolod Stakhov2018-10-131-2/+2
|
* [Minor] Another try to fix bloody pythonVsevolod Stakhov2018-10-131-5/+9
|
* [Minor] Further try to fix bloody pythonVsevolod Stakhov2018-10-131-1/+1
|
* [Minor] Use python3Vsevolod Stakhov2018-10-131-5/+5
|
* Drone speedup (#2588)Anton Yuzhaninov2018-10-131-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Start switchind test to custom Docker images Using Docker images with pre-installed delendencies will speedup testing. * Debug build in drone.io * Use variable instead hardcoded path to the source * Debug variable substitution by drone Also according to comments in code DRONE_WORKSPACE is deprecated and CI_WORKSPACE is a new form. * One more try to use variables. It looks like drone uses same rules as docker-compose: https://docs.docker.com/compose/compose-file/#variable-substitution * Cleanup debug * Less verbose make output * Be consistent in variable escaping It works without escaping only becuse ${VAR} currently expanded by drone, but $VAR is not. * Use alpine base image for nodejs It is smaller. * Return rspamd-test * Revert variable escaping Wihtout escaping it is more easy to copy-past command for testing. Just don't use ${var} when var should be expanded by shell and not drone. * Add debug * Fix yaml parsing error * Fix exit code capture It should be done on the same line, because drone insert 'echo + cmd' between commands. * Remove debug * Readability No functional changes. * Return functional tests * Be consistent * Add git stub for coveralls * Send coverage * Fix yaml parsing error * Add links to Dockerfiles * Send test log in case of test failure XXX if rspamd-test failed, but functional was successful robot log will be attached (but not useful). * Don't run rspamd-test and functional tests in parallel It looks like there is a race condition in writing coverage files. * Try to run tests in parallel * Add debug * Fix parallel test run test/rspamd-test and functional test both use luacov.stats.out file in current directory. Run ./rspamd-test from anther directory. * Use drone condition for sending coveralls report Also don't send report if empty tocken was provided. * Add mininal python3 compatibility
* [Test] Fix tests that are not RFC conformantVsevolod Stakhov2018-10-121-4/+4
|
* [Minor] Adopted merger to work with droneMikhail Galanin2018-10-091-3/+9
|
* [Test] Collect coverage in all functional testsMikhail Galanin2018-10-087-0/+7
|
* [Test] Coverage merge/push scriptMikhail Galanin2018-10-081-0/+139
|
* [Test] Collect coverage from rspamd workersMikhail Galanin2018-10-082-0/+107
|
* [Test] use the coverage collector in testsMikhail Galanin2018-10-053-1/+3
|
* [Test] added Lua test coverage collector for functional testsMikhail Galanin2018-10-051-0/+46
|
* [Test] Fix reload testVsevolod Stakhov2018-10-022-3/+3
|
* [Test] Fix and extend whitelist testsVsevolod Stakhov2018-10-013-49/+35
|
* [Test] Add more test messagesVsevolod Stakhov2018-10-014-0/+242
|
* [Test] Add more fake domainsVsevolod Stakhov2018-10-011-0/+15
|
* [Minor] Fixed sync redis connection with default arguments in rspamadmMikhail Galanin2018-10-011-3/+3
|
* [Test] Fix AV testsVsevolod Stakhov2018-09-291-4/+4
|
* Merge pull request #2540 from negram/dns-sync-rspamadmVsevolod Stakhov2018-09-272-1/+53
|\ | | | | Dns sync rspamadm
| * [Test] fixed config pathMikhail Galanin2018-09-271-1/+1
| |
| * [Test] Fixed undefined variable usageMikhail Galanin2018-09-271-3/+4
| |
| * [Test] Add output loggingMikhail Galanin2018-09-271-0/+2
| |
| * [Test] Added test for dns request from rspamadmMikhail Galanin2018-09-272-1/+50
| |
* | [Minor] Close file once it is not neededMikhail Galanin2018-09-271-4/+4
|/
* [Test] Actually the functional testMikhail Galanin2018-09-241-0/+30
|
* [Test] Final cases for selectors - register_* and functional for regexpsMikhail Galanin2018-09-244-1/+17
|
* [Minor] Fix test casesVsevolod Stakhov2018-09-232-5/+5
|
* [Test] Input data for the last test caseMikhail Galanin2018-09-181-0/+2
|
* [Test] Added test for case "hello.\nagain"Mikhail Galanin2018-09-182-0/+7
|
* [Test] Forgotten configMikhail Galanin2018-09-181-0/+46
|
* [Test] Test for regexps in {sa_body} and urls with newlinesMikhail Galanin2018-09-183-0/+62
|
* [Fix] Fix more issues with watching of async eventsVsevolod Stakhov2018-09-121-0/+3
|
* Merge pull request #2485 from negram/dns-api-testVsevolod Stakhov2018-09-123-0/+92
|\ | | | | [Test] Added test for DNS api
| * [Minor] Removed extra whitespaceMikhail Galanin2018-09-121-1/+1
| |
| * [Test] Added test for DNS apiMikhail Galanin2018-09-123-0/+92
| |
* | [Minor] Removed unused variableMikhail Galanin2018-09-121-1/+0
| |
* | [Test] Added test for new version of Redis APIMikhail Galanin2018-09-123-3/+32
|/
* Merge branch 'master' into redis-coroutinesMikhail Galanin2018-09-111-0/+41
|\
| * [Test] Mark error with symbol in responseMikhail Galanin2018-09-101-1/+6
| |
| * [Test] Added test case for error handling checkMikhail Galanin2018-09-101-0/+41
| |
* | [Test] Added test for Redis APIMikhail Galanin2018-09-108-7/+243
|/
* Merge pull request #2476 from negram/fix-milter-testVsevolod Stakhov2018-09-107-11/+16
|\ | | | | Fix milter test
| * [Test] More debug infoMikhail Galanin2018-09-101-0/+2
| |
| * [Test] Mark "connection" resource as freedMikhail Galanin2018-09-101-1/+4
| | | | | | | | mt.disconnect() performs free(). If we call it twice with the same argument, we will get double free()
| * [Test] Use dofile instead of requireMikhail Galanin2018-09-105-10/+10
| | | | | | | | require implies module loading via standard mechanism (which is have to present in LUA_PATH). Here we just load the specific files.
* | Merge pull request #2475 from negram/dnssec-mockVsevolod Stakhov2018-09-101-0/+35
|\ \ | | | | | | [Test] One more domain to faking records