1
0
Fork 0
arangodb/js/server/modules/@arangodb/foxx
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
..
legacy Don't use global static variables as collection caches - this may cau… (#3150) 2017-08-28 15:04:05 +02:00
queues use indices on our foxx queues queries; Migrate queries away from aqb… (#3101) 2017-08-24 17:06:03 +02:00
router Add authorizedflag fixing cluster internal foxx requests 2017-05-17 18:14:11 +02:00
sessions JWT uses seconds 2017-02-14 19:20:41 +01:00
auth.js Reformat code 2016-06-30 16:57:17 +02:00
context.js Expose static req.reverse as module.context.reverse 2016-10-31 17:38:11 +01:00
graphql.js fixed variables parsing in GraphQL 2017-03-05 23:31:38 +01:00
index.js Reformat code 2016-06-30 16:57:17 +02:00
manager.js Cleanup after each testrun (#3109) 2017-08-30 10:48:24 +02:00
manifest.js Improve Foxx cluster resilience (#2479) 2017-05-16 17:41:29 +02:00
mocha.js Implement tap/xunit reporters in Foxx 2017-03-15 20:09:31 +01:00
oauth1.js Document OAuth1 2016-12-09 15:28:36 +01:00
oauth2.js Implement OAuth 1.0a 2016-12-06 18:30:11 +01:00
routing.js Fix issue 2684: Legacy service UI not working (#2685) 2017-06-28 12:09:15 +02:00
service.js Simplified Foxx self healing (#2511) 2017-05-30 18:27:32 +02:00
swagger.js Fix Windows file path resolution 2016-11-22 14:02:01 +01:00
test-utils.js Reformat code 2016-06-30 16:57:17 +02:00
types.js Reformat code 2016-06-30 16:57:17 +02:00