1
0
Fork 0
Commit Graph

80 Commits

Author SHA1 Message Date
Jan 5165155ed1 Bug fix/fixes 0609 (#3227)
* do not use V8 variant of AQL functions in early optimization stage when a C++ variant is available

* additionally, simplify AQL function definitions and aliases

* warn when more than 90% of max mappings are in use

* added C++ variant of replication catchup

* added `--log.role` option

* updated CHANGELOG

* removed non-existing scheduler.threads option from config

* removed useless __FILE__, __LINE__ invocations

* updated CHANGELOG

* allow a priority V8 context

* remove TRI_CORE_MEM_ZONE

* try to fix Windows errors & warnings

* cleanup

* removed memory zones altogether

* exclude system collections from collection tests
2017-09-13 16:28:21 +02:00
Wilfried Goesgens 5b131450a2 revalidate that tests clean up properly. 2017-09-12 14:49:06 +02:00
Wilfried Goesgens 48c5587c67 only run testsuite when we're on enterprise and actually do have tests 2017-09-12 12:11:13 +02:00
Simon Grätzer ffc465433a No access collections Improvements (#3190)
* consolidated EdgeDocumentToken

* optimizing cluster traversal

* adding skip collection checks

* API cleanup

* copying AQLValue to avoid use-after-free bugs

* Fixing rocksdb SingleServerEdgeCursor

* Fixing a collection resolving issue
2017-09-07 14:55:07 +02:00
Wilfried Goesgens be8e04295d be more ignorant about existing or missing directories on startup / cleanup. 2017-08-31 15:42:37 +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
Simon Grätzer 885ea3dd5f Remove attribute option for arangoimp (#3141)
* Adding a remove attribute option to arangoimp (only for csv)

* Adding documentation

* Fixed log statement

* Update CHANGELOG
2017-08-30 10:45:02 +02:00
Michael Hackstein 0f1b6e32eb Bug fix/issue 3106 orphans in general graph (#3147)
* Added a test-case for #3106

* Added a fix for #3106
2017-08-28 15:02:15 +02:00
Jan 8e4dac4fc4 fix fulltext index removal performance, simplified code (#3015)
* simplify index API a bit

* fix fulltext index removal performance, simplified code

* updated CHANGELOG

* fix hanging test

* try to fix shutdown problem

* improve fulltext query performance

* fixed duplicate var

* removed obsolete code

* fix some shutdown races

* do not call ensureIndex that often
2017-08-12 09:25:30 +02:00
Michael Hackstein 7ab117f5f8 Bug fix/dump restore auth (#2917)
* Added a backup test suite. This suite is supposed to entirely drop an ArangoDB _system and restore it into a fresh one. This also includes system collections.

* Added more test cases for backup suite. Now tests several authorization/rights cenarios

* Fixed RestReplication Handlers to restore _user collections Properly.

* Updated Changelog

* Added special handling of _users in Restore for MMFiles as well.

* Added JWT secret for cluster execution of this test, also added JWT secret to shutdown call
2017-08-09 12:59:51 +02:00
Jan ce2425cade Bug fix/daily fixes (#2958)
* do not rely on non-existing feature "AQL"

using such feature makes the server throw two exceptions (which will be caught) on startup, but its silly for debugging

* use condition variable for signalling shutdown

* do not hard-code the log levels for recovery tests

this has taken so many developers so much of their time that it is about time to fix it

* ensure the 'unittests' script properly finds 'arangosh' and the build directory
2017-08-04 20:46:08 +02:00
Simon Grätzer 3f58a44e3b Fix cases where the root user has access to excluded collections (#2856) 2017-08-03 21:16:08 +02:00
Manuel B fe8b9b70c4 Feature/planning 580 arangoexport with query (#2882)
* added query export capability

* test for export --query

* docu

* document export with query

* Update CHANGELOG
2017-07-28 08:41:53 +02:00
Frank Celler a692577f5b Feature/auth context (#2815) 2017-07-16 09:39:03 +02:00
Jan 852f91f32c it would have told us of about a missing semicolon (#2729) 2017-07-04 17:35:42 +02:00
Manuel B 83712b7b4a Feature/authorization query cache (#2720)
* check authorization when accessing query cache
2017-07-04 08:37:14 +02:00
Jan 1d944b97a4 fix https://github.com/arangodb/planning/issues/388 (#2714)
also fix jslint issues
2017-07-03 18:41:54 +02:00
Frank Celler bbe7484521 Feature/auth context (#2704)
* added read-only users
2017-07-02 23:15:57 +02:00
Frank Celler bec7c089fb fixed path (#2710) 2017-07-02 22:50:55 +02:00
Andreas Streichardt 086f6a26c5 Add host/port 2017-05-12 14:51:49 +02:00
jsteemann 87830a62cf turn off LDAP tests by default 2017-05-11 09:56:15 +02:00
jsteemann cb189bd973 turn off LDAP tests by default in community builds 2017-05-10 23:26:12 +02:00
jsteemann 6fad62e53d add option documentation 2017-05-10 23:18:37 +02:00
Michael Hackstein e54f4b96da Fixed jslint in testsuites/rspec 2017-05-05 15:59:02 +02:00
Michael Hackstein dd4da7cbca Rspec and Export tests now honor the given --testOutput parameter. Also ssl_server and http_server do now write in different files, this lead to errors on jenkins. 2017-05-05 15:51:22 +02:00
Manuel B 9bc9d4180c ldap test: updated statusCode to 401 2017-05-04 10:46:30 +02:00
jsteemann b65b1a3717 fix helpless engine filtering 2017-05-04 01:26:51 +02:00
Wilfried Goesgens fcd07bbf24 fix failed count in all testsuites 2017-05-03 15:26:48 +02:00
Wilfried Goesgens b10f5496d6 styleguide cleanup 2017-05-03 14:03:07 +02:00
Wilfried Goesgens 20a7c0e6b2 remove system stackframes from ruby output; lintify 2017-04-28 10:38:31 +02:00
jsteemann 2077b8033e fix invalid testing.js behavior 2017-04-27 15:53:57 +02:00
Manuel B f524c55aa9 ldap test: missing ; 2017-04-25 15:22:52 +02:00
Manuel B e518d15978 ldap test: tripple req 2017-04-25 15:21:02 +02:00
baslr 3d9f58bb70 Merge remote-tracking branch 'origin/devel' into feature/ldap-auth 2017-04-24 12:45:35 +02:00
Dan Larkin c8f87d0b62 Split dump test file (engine-specific values). 2017-04-20 17:12:15 -04:00
baslr 9425160d6d ldaptest handle arangod not started case 2017-04-18 11:37:53 +02:00
Michael Hackstein 1087065ea5 Merge branch 'devel' of github.com:arangodb/arangodb into engine-api 2017-04-13 17:34:25 +02:00
baslr 671aed927f added failing ldap test 2017-04-13 13:56:00 +02:00
baslr 949ad9a0d8 for every ldap test one result 2017-04-13 13:24:14 +02:00
baslr cfe5d1891f Merge remote-tracking branch 'origin/devel' into feature/ldap-auth 2017-04-12 20:42:18 +02:00
baslr 399ce5fb90 options fix 2017-04-12 15:30:16 +02:00
baslr 966ea503c2 first ldap tests 2017-04-12 14:00:35 +02:00
Wilfried Goesgens 6887cdbb43 lean on the ICU_DATA env that arangosh exposes. 2017-04-12 13:53:21 +02:00
Wilfried Goesgens 24fca9974d run the tests one time without reporting to debug windows issue 2017-04-12 12:58:11 +02:00
Wilfried Goesgens ccb2175904 exclude two testsuites to check whether this hinders jenkins 2017-04-12 11:15:38 +02:00
Wilfried Goesgens 839d44de80 another place where we need to know the testresult output directory 2017-04-11 17:06:52 +02:00
baslr 850097247d prepare ldap test 2017-04-11 16:05:54 +02:00
Jan Christoph Uhde 028afb782d enable logtopic development for recovery tests
if extreme verbosity is set to true
2017-04-11 15:03:13 +02:00
baslr 42c6e539da initial ldap test 2017-04-10 17:45:46 +02:00