1
0
Fork 0
Commit Graph

898 Commits

Author SHA1 Message Date
Vasiliy ca0dc7789e issue 564.1: remove return value and propagate 'force' (#8924)
* issue 564.1: remove return value and propagate 'force'

* address merge issue
2019-05-07 18:44:34 +03:00
Jan Christoph Uhde f3a2eaf6d9 Bug fix/permission tests (#8890) 2019-05-07 15:07:59 +02:00
KVS85 e9f669c139 Fix load_balancing suite to conform testing.j options 2019-05-06 17:23:16 +02:00
KVS85 d51aec7914
Enable logs for setup of recovery test 2019-05-05 13:41:19 +03:00
Jan Christoph Uhde 677a79026c Foxx Security (#8845) 2019-04-25 09:56:29 +02:00
KVS85 98ce26d092 Fix recovery suite to succeed in case of no tests 2019-04-22 09:33:56 +02:00
Frank Celler b3a2dc98b8 added buckets 2019-04-21 14:36:54 +02:00
KVS85 e7d5d7e343
Fix jslint in resilience suite 2019-04-19 15:38:08 +03:00
KVS85 d5b05aef9e
Fix typo and jslint in replication suite 2019-04-19 15:37:34 +03:00
KVS85 878415ef8e Change resilience and replication testsuits layouts required for new tests and greylisting 2019-04-19 01:14:34 +02:00
Alan Plum 8692f19e99 Handle extra args to db._query when using aql templates (#8789) 2019-04-18 10:50:46 +02:00
Dan Larkin-York 48fb15e94f Auth-related tests for audit logging (#8790) 2019-04-18 10:45:41 +02:00
Frank Celler 6eb986825e
grey only (#8786)
* grey only

* Update testing.js
2019-04-17 19:29:36 +02:00
Dan Larkin-York 777ba1a364 Improved audit logging (#8740) 2019-04-15 14:51:32 +02:00
Jan 69f7a8a00d
longer WAL file retention for test (#8736) 2019-04-15 10:16:34 +02:00
Tobias Gödderz dc888ba3e8 Do not send SIGABRT to rr, as it will result in an unusable trace (#8745) 2019-04-12 15:04:36 +02:00
Wilfried Goesgens c271c59e90 Reduce test leftovers on disk (#8707) 2019-04-11 11:43:30 +02:00
Jan 94e67cb12c
increase shutdown response timeout for tests from 10 s to 60 s (#8719) 2019-04-10 08:27:58 +02:00
Jan 6b9b9b0946
Bug fix/fix test muell (#8703) 2019-04-09 11:27:53 +02:00
Simon 2b594bdab5 Reduce # of memcpy from storage engine layer (#8685) 2019-04-08 22:43:29 +02:00
Jan 5897baa984
added db.<collection>.getResponsibleShard() (#8683) 2019-04-08 16:10:45 +02:00
Vasiliy 0410588723 issue 526.7.1: remove deprecated functions, update tests to set up required analyzers (#8688)
* issue 526.7.1: remove deprecated functions, update tests to set up required analyzers

* address merge issues

* address more merge issues
2019-04-05 18:10:42 +03:00
Wilfried Goesgens 9c0fb4a97e Feature/sort buckets dump agency allways (#8677) 2019-04-04 14:50:04 +02:00
jsteemann 35be0529a2 fix link to Foxx-CLI 2019-04-04 10:27:43 +02:00
Wilfried Goesgens ebb4de1e6a fix dumping of agency, disable javascript in agency and dbserver (#8625) 2019-03-29 17:47:08 +01:00
Wilfried Goesgens 7eee9f82ea fix typo (#8618) 2019-03-28 17:10:05 +01:00
Wilfried Goesgens b1440755fc improve timeout behaviour of test utils (#8614) 2019-03-28 17:01:44 +01:00
Simon 417ee266d4 Fuse transaction begin request for non baby operations (#8566) 2019-03-27 11:31:39 +01:00
Wilfried Goesgens c5587f1c30 fix enterprise tests - we mustn't restore smart collections over exising collections (#8581)
* fix enterprise tests - we mustn't restore smart collections over existing collections

* un-blacklist test
2019-03-27 09:08:38 +01:00
KVS85 4ea1675e74 Allow replication suite filtering (#8586) 2019-03-26 20:25:14 +03:00
Simon bcc26926de Support Transactions in RestCursorHandler (#8539) 2019-03-25 17:04:11 +01:00
jsteemann e3995522d0 thanks @dsonet 2019-03-25 16:58:15 +01:00
Wilfried Goesgens 0634b24dde add tests for dump/restore of multiple databases (#8530) 2019-03-25 15:52:37 +01:00
Jan Christoph Uhde 95e6f83f09 use dummyDir for unix socket files (#8220) 2019-03-25 13:55:22 +01:00
Jan 39a3f5bc4e
reintroduce smart joins after temporarily reverting them in devel (#8543) 2019-03-23 20:36:02 +01:00
Simon 3ada15fc35 The Legendary El Cheapo (#8485) 2019-03-22 11:38:33 +01:00
jsteemann dc381a99df Revert "Feature/ncc1701 (#8440)"
This reverts commit 59ad583796.
2019-03-21 19:18:46 +01:00
Jan 59ad583796
Feature/ncc1701 (#8440) 2019-03-21 15:05:36 +01:00
Jan 6d107beeda
don't run compact() on a collection after a truncate() was done in th… (#8468)
* don't run compact() on a collection after a truncate() was done in the same transaction

running compact() in the same transaction will only increase the data size on disk due to RocksDB not being able to remove
any documents physically due to the snapshot we take at transaction start.
Decoupling the truncate transaction from the compact operation allows finishing the truncate transaction first, so we can
get rid of the snapshot. Running compact afterwards is then free to physically remove all the data.
As a nice side effect this change will also speed up the truncation of larger collections, because the compact will run
faster.

This change also exposes db.<collection>.compact() in the arangosh, in order to manually run a compaction on the data
range of a collection should it be needed for maintenance.

* fix documentation anchors
2019-03-20 16:27:54 +01:00
KVS85 a7090f30e9 fix typo (#8470) 2019-03-20 18:14:55 +03:00
KVS85 ea5e6aef05 Fix upgrade_data tests (#8459) 2019-03-20 11:05:39 +01:00
Wilfried Goesgens c2042c86e9 abort testing if we fail to get the currently available collections during server startup (#8442) 2019-03-18 15:14:08 +01:00
Dan Larkin-York 413e90508f Named indices (#8370) 2019-03-13 18:20:32 +01:00
Jan dd4938598c
use requireFromPresent and barriers in more cases (#8398) 2019-03-13 15:16:22 +01:00
Wilfried Goesgens 8bcddf1498 expect leader to have disappeared (#8326) 2019-03-06 11:20:49 +01:00
Wilfried Goesgens 4ae0cd42c3 when in activefailover mode detect leader changes, and abort tests since they wouldn't deliver good values anymore (#8306) 2019-03-05 11:10:20 +01:00
Wilfried Goesgens b1a1edb205 add default values and documentation missing for this parameter (#8303) 2019-03-01 14:11:48 +01:00
jsteemann 35311178fd try..catch to avoid useless failures 2019-01-29 18:00:56 +01:00
Jan f7d94daba2
port some changes from 3.4 (#8011) 2019-01-29 09:26:57 +01:00
Frank Celler 9927b3a281
Feature/maskings (#8006) 2019-01-22 22:23:25 +01:00
Wilfried Goesgens 457e14b970 add windows suspend/resume hooks as @char101 sugested for others (#7833)
* add windows suspend/resume hooks

* disable procdump
2019-01-11 12:41:27 +01:00
Simon a2a0b03f43 Rdb index background (preliminary) (#7644) 2018-12-21 19:24:10 +01:00
KVS85 bbd8aa4e0b Remove procdump usage while taring archives (#7815) 2018-12-21 11:39:39 +01:00
Wilfried Goesgens 7acb3b3ec4 wait for procdump to exit too. (#7731)
* wait for procdump to exit too.

* move running process check up, propagate status. First check whether processes are still running before attempting to force kill them

* only list processes, don't change their state

* add stopping procdump in all places
2018-12-12 18:06:08 +01:00
Michael Hackstein 170e3520be
Improved stability of dump restore test (#7593)
* Improved stability of dump restore test, the assumption tested was not correct

* Fixed options in recovery test suite
2018-12-10 15:48:34 +01:00
Dan Larkin-York 68ebf1d934 Update upgrade data tests for compatibility with Oskar. (#7485) 2018-12-10 12:51:51 +01:00
Jan fb04c1c602
Bug fix/forward port missing changes (#7706) 2018-12-10 12:51:20 +01:00
Tobias Gödderz 44b6257df9 Fix error messages, allow usage of rr with the recovery suite (#7539) 2018-12-10 12:43:45 +01:00
Wilfried Goesgens ea44f8394d try checking whether _admin/shutdown is received, print sockstats of arangod processes (#7677) 2018-12-06 15:52:46 +01:00
Wilfried Goesgens e890bdc01a add bucket to test summary, so you can determine which logfile to look at (#7661) 2018-12-06 14:23:42 +01:00
Wilfried Goesgens 76cf74cc83 add missing rootDir parameter (#7546) 2018-11-29 15:18:58 +01:00
Jan 683d45bd68
Feature/micro optimizations 28112018 (#7496) 2018-11-28 15:57:10 +01:00
Wilfried Goesgens 3cf8d2a2e7 make the recovering server output its log (#7467) 2018-11-26 19:16:51 +01:00
Wilfried Goesgens 346a0a15a4 fix test status (#7456) 2018-11-26 14:03:37 +01:00
Frank Celler 7a4cb9346e allow buckets for authentication 2018-11-23 22:13:22 +01:00
Heiko 3322cc5ae2 Bug fix/update foxx services after restore (#6774)
* triggers foxx queue update which leads to the internal selfHeal function of a foxx app to make foxx apps publicy visible after a foxx app is restored

* this will also add the recognition of imported foxx services

* Testing JS refactoring

* Added test case for Foxx dump -> restore cases

* Fixed check, sth- i tries to contact to the foxx service. Test is red now.

* Fixed tests for dump / restore using Foxx. Also first draft to fix the fox side. Blocked by sth. fixed in the Main Repositorx already

* Fixed typo in dump/restore testsuite

* Removed old version of the fix

* Fixed JSLint
2018-11-23 17:06:09 +01:00
Wilfried Goesgens ed4af5acf8 re-connect force terminate mechanism on test timeout (#7424) 2018-11-23 11:16:29 +01:00
Wilfried Goesgens a905b2ca35 Bugfix/fix recovery testsuite (#7396) 2018-11-22 11:18:28 +01:00
Wilfried Goesgens 51e020b0f7 make our tools output their log messages (#7403) 2018-11-21 16:38:03 +01:00
Simon c9e44046a2 add timeout (#7398)
(cherry picked from commit 800acadfcabc508cf9c65a18e7c0032b4bfb0c62)
2018-11-21 14:16:23 +01:00
Wilfried Goesgens 270301b312 when checking for test leftovers catch dead server connections and abort tests cleanly (#7283) 2018-11-20 10:42:55 +01:00
Wilfried Goesgens fdb1e85d8d When using `--test` to segment filter, we also need to add it to the database directory. (#6944) 2018-11-20 10:26:55 +01:00
Jan 0dd1776467
Make recovery more reliable (#7297) 2018-11-19 13:59:18 +01:00
Frank Celler a6e4c844ad Feature-3.4/whiteblacklist (#7259)
* add blacklist

* added --skipGrey
2018-11-08 00:01:29 +01:00
Wilfried Goesgens 6fe9b774f8 fix typo (#7254) 2018-11-07 17:37:12 +01:00
Dan Larkin-York b447f98a7a Upgrade old MMFiles collections for compatibility with ArangoSearch. (#7248) 2018-11-07 15:52:37 +01:00
Vasiliy 68953ae33a issue 496.4.1: move StorageEngine-specific flag out of the genric API and closer to the storage engine (#7212) 2018-11-04 16:52:28 +03:00
Wilfried Goesgens ecade47aaf don't spawn additional arangosh processes to run the tests (#7185) 2018-11-02 13:08:04 +01:00
Jan dc03e370f9
stop printing `connection class corrupted` in arangosh (#7180)
when just starting the arangosh without a connection to a server
and running code such as `require("internal")`, the shell always
printed "connection class corrupted", which is somewhat misleading.
just don't print this error here, as it is useless
2018-10-31 18:46:47 +01:00
Wilfried Goesgens 2cfe9126f2 Bug fix/windows process handling (#7012) 2018-10-23 15:38:24 +02:00
Simon 4c1e8819c2 Add engine specific collection APIs (#6977) 2018-10-19 17:46:33 +02:00
Wilfried Goesgens b0c91cf80c Don't listen to procdumps exit code (#6932) 2018-10-18 11:36:56 +02:00
Wilfried Goesgens 55a45f1a84 properly check wether the replication follower instance is still alive (#6938) 2018-10-17 14:14:09 +02:00
Wilfried Goesgens d1b3a1ee98 Don't talk to a server when we know its dead. Print current testsuite on Falure. (#6879) 2018-10-15 14:29:16 +02:00
Wilfried Goesgens 239771b5f3 Better result handling for recovery tests (#6826) 2018-10-15 13:17:45 +02:00
Kaveh Vahedipour 7f7e4e04fd fuerte move resulted in broken inspector 2018-10-12 19:52:24 +02:00
Wilfried Goesgens 676f61805e Make procdump abort on std::bad_cast; kill SUT if it occurs; Make procdump optional. (#6602) 2018-10-10 17:55:53 +02:00
Wilfried Goesgens ad31b31096 print when we mark a build crashy (#6769)
LGTM
2018-10-09 16:47:16 +02:00
Jan bd344f9f09
remove undocumented view.toArray() function (#6763) 2018-10-09 09:48:00 +02:00
Wilfried Goesgens 056ee7064c Feature/log timestamp on test start (#6759) 2018-10-08 16:18:04 +02:00
Jan ae85fbc4ea
much better diagnostics for AQL query results cache (#6580) 2018-09-25 09:49:11 +02:00
jsteemann a57640993f fixed JavaScript error 2018-09-18 20:13:46 +02:00
Simon 82aa24ad7e Copy installation files on startup (#6491) 2018-09-14 11:15:21 +02:00
Jan 7a3c2bf6af
add some debugging for unstable replication_sync test (#6436) 2018-09-10 14:46:50 +02:00
Simon 0661a4c1fe Hide Links from getIndexes() (#6325) 2018-09-03 15:17:24 +02:00
Frank Celler f17eac6b96 fixed typo in test setup 2018-09-02 10:21:39 +02:00
Frank Celler f696efe5ea removed auditlog 2018-09-02 08:54:04 +02:00
Jan e03f0daccd skip "dump_encrypted" test in non-enterprise mode (#6334) 2018-09-01 22:55:04 +02:00
Jan 3a3c4f7f8b fix failing readOnly test (#6333) 2018-09-01 22:54:33 +02:00
Frank Celler ca34956f3c fixed wrong result code 2018-09-01 16:16:29 +02:00