1
0
Fork 0
Commit Graph

353 Commits

Author SHA1 Message Date
Andreas Streichardt 7d2ab6055f Merge with latest changes in improve-jenkins
stashing should work better now
2017-08-31 17:53:48 +02:00
Jan 2f05b0ffeb jslint (#3167) 2017-08-30 11:28:51 +02:00
Wilfried Goesgens c662dfc863 Cleanup after each testrun (#3109)
* Cleanup after each testrun

 - add a success testsuite next to the fail testsuite
 - create temporary directories in the fail & success testsuites
 - add a function to cleanup the last unshifted directory
 - don't say we're crashed when exiting with the help message

* Specify temp path for SUT so its files will be removed after cleanup.

 - cleanup
 - don't use getTempFile(), it will create another subdirectory that we don't clean up afterwards...

* Fix temp path usage

 - creating a 'bundles' directory wherein we would keep our temporary bundle files would collide if we'd clean it up.
 - create 'bundles-tmpxxxx' instead so its individual to us and we can remove it when done without problems.

* properly create & pass in a temporary directory - as we now require this.

* Remove intermediate directory recursive - for some unknown reason there may be temp files created.

* we need to unify tempfilenames here too.

* use individual suite names

* use the standart performTests to run the backup tests - so we have the proper directory and server handling from the infrastructure.

* fix temporary directory handling in the recovery tests.

* script to build debugging debian packages

* Improve test shutdown

 - handle a set of options globally per testsuite, so they don't need to clone them inside.
 - properly cleanup the slave instance of the replication tests after each run.
 - The per testsuite options vector will fix the behaviour that after one failed testsuite
   all other suites won't be cleaned up anymore.

* don't call the overal cleanup if anything failed.

* fix cleaning up of directories.

* cleanup, fix directory creation / deletion / dummy creation.

* cleanup, fix directory creation / deletion / dummy creation.

* fix tempdir handling for the recovery tests
2017-08-30 10:48:24 +02:00
Wilfried Goesgens 2a82cf8667 when running the client tests on an already running server we have to specify the server root directory. (#3102) 2017-08-24 17:05:51 +02:00
Andreas Streichardt 6527c8ceed Revert "Unwurst results"
This reverts commit 8312c64f60.
2017-05-02 19:05:48 +02:00
Andreas Streichardt 525a9a0d4c Revert "Fail lint"
This reverts commit 59df82c975.
2017-05-02 19:05:40 +02:00
Andreas Streichardt 59df82c975 Fail lint 2017-05-02 18:26:27 +02:00
Andreas Streichardt 8312c64f60 Unwurst results 2017-05-02 18:21:16 +02:00
Wilfried Goesgens 4c82acd5e7 only print real errors to the fail file 2017-04-27 16:29:39 +02:00
Wilfried Goesgens 0b7e07f096 fix writing of crash summary textfile 2017-04-26 11:08:21 +02:00
Wilfried Goesgens d36a91e694 fix output of result yaml, but we only want it if extreme verbosity is set. 2017-04-18 15:25:01 +02:00
Wilfried Goesgens 7507f0d756 one more place to choose the propper directory for unittest result files. 2017-04-06 14:54:09 +02:00
Wilfried Goesgens bf3f68ee26 BUGFIX: when we don't start the server we mustn't try to attempt to clean up its db directories 2017-04-06 11:43:11 +02:00
Wilfried Goesgens 476befc9d0 refactor testing.js
- split utility functionality into its own file
 - add module loader so we can have modules
 - move all testsuites into own files
 - remove complicated testcase joining / splitting methods
2017-03-28 16:29:51 +02:00
Andreas Streichardt f32256e5a7 Normalize test resultstructure (hopefully) 2017-03-28 14:15:08 +02:00
jsteemann a5013733a2 force recovery tests to fail when not compiled with failure-tests 2017-03-28 09:47:52 +02:00
jsteemann a684bd6152 fix recovery tests 2017-03-28 09:34:59 +02:00
Wilfried Goesgens 6940aa6ec1 alias boost to catch 2017-03-27 19:44:06 +02:00
Wilfried Goesgens eb4c2ed8e4 fix arangosh test 2017-03-27 19:42:24 +02:00
Wilfried Goesgens f09ee72d65 start splitting testing.js into handy bits. 2017-03-27 19:00:21 +02:00
Wilfried Goesgens 4d0778a825 start splitting testing.js into handy bits. 2017-03-27 18:57:05 +02:00
Wilfried Goesgens 81889bfc54 Work on testingjs to make it fit for storage engine and others:
- add storage engine switch:
  - filter for files with `-rocksdb` or `-mmfiles` depending on the used storage engine.
- fix missing color reset on error messages
- make --test a substring match instead of a full match.
- print an error message if --test did not match any testcase and thus no tests were run
- disable crash check for the recovery testcases that are actually intended to crash so we can recover from the failed state
- scan for recovery testcases instead of keeping a hand written list
- make test-scan function public
2017-03-24 16:17:36 +01:00
Wilfried Goesgens 388424bbdc engage debugger when calling general binaries that segfault 2017-03-21 16:49:20 +01:00
Wilfried Goesgens e4fbbcd0eb migrate wording boost->catch 2017-03-16 17:18:28 +01:00
Wilfried Goesgens 54c62a59a9 try to get stacktraces on mac 2017-03-16 16:04:24 +01:00
Wilfried Goesgens 968ad1f82a try to get stacktraces on mac 2017-03-16 15:01:30 +01:00
Wilfried Goesgens ae50e4ca1c try to get stacktraces on mac 2017-03-16 14:56:55 +01:00
jsteemann 9278149b24 fixed --convert 2017-03-09 14:29:23 +01:00
Andreas Streichardt c5aaa5c633 use junit 2017-03-07 11:59:53 +01:00
Andreas Streichardt 7d51256234 Properly publish results 2017-03-07 11:54:37 +01:00
Andreas Streichardt 4af0eab357 fix icu stuff 2017-03-07 11:21:35 +01:00
Andreas Streichardt 59b49485b5 Merge branch 'devel' into catch_tests_ng 2017-03-06 18:34:46 +01:00
Andreas Streichardt 9c25f5afd8 Adjustments for catch 2017-03-06 18:11:14 +01:00
Andreas Streichardt ce3c17e7de Merge branch 'devel' into catch_tests_ng 2017-03-06 17:59:26 +01:00
Michael Hackstein 048bdf4cbd Merge branch 'engine-api' of github.com:arangodb/arangodb into engine-api 2017-03-06 13:28:07 +01:00
jsteemann 7640586bd9 added test case for duplicate collections 2017-03-06 13:07:04 +01:00
Michael Hackstein b26ea6c3bd Added a recovery test for duplicate-name creation. This was broken during Engine-API build. 2017-03-06 10:41:21 +01:00
Andreas Streichardt 9420fb0e84 scripts unittests fix 2017-03-03 21:15:06 +01:00
jsteemann 7051f5d87a fixed --convert false in arangoimp 2017-03-02 15:05:06 +01:00
jsteemann 14d5898fc2 test for issue #2342 2017-03-02 13:53:17 +01:00
baslr d4680cfc0c arangoexport:test fix jslint 2017-02-28 15:54:39 +01:00
baslr a0256af44b arangoexport: added test for xgmml, node module xmldom 2017-02-28 15:25:18 +01:00
jsteemann 82a17fb493 turn off cache tests by default 2017-02-27 09:52:29 +01:00
Dan Larkin 09600f0971 Added hash cache system. 2017-02-24 15:31:40 -05:00
baslr b21ef73aa4 arangoexport: tests use temp directory for output 2017-02-15 12:53:53 +01:00
baslr 4783792684 arangoexport: inital work on test 2017-02-13 12:04:57 +01:00
Max Neunhoeffer 273c6328c7 Make testing.js more tolerant at shutdown (for high load). 2017-02-09 16:36:58 +01:00
jsteemann f075951be2 refuse to run recovery tests when compiled without enable-failure-tests 2017-02-09 11:52:40 +01:00
Wilfried Goesgens dc9f2d12e8 attempt to obtain a coredump on server shutdown hang 2017-02-07 10:30:58 +01:00
Wilfried Goesgens 540e4178aa attempt to obtain a coredump on server shutdown hang 2017-02-07 10:27:31 +01:00