Wilfried Goesgens
51e687d4fa
Feature/add output before http ing ( #9361 )
...
* make rspec timeouteable (on windows for now)
* add timeout state, fix windows implementation
* abort testrun if a timeout in rspec occured
* lint
* fix scope of procdump stopper
* fix include scope
* fix invokation
* use proper variable to wait for
* add output before we attempt to talk to the SUT, so we can better insulate startup lockups
* when we timeout a process dump out all we know about the SUT.
* when we timeout a process dump out all we know about the SUT.
2019-06-28 16:03:32 +02:00
Wilfried Goesgens
6561f21536
Feature/make rspec timeouteable ( #9354 )
...
* make rspec timeouteable (on windows for now)
* add timeout state, fix windows implementation
* abort testrun if a timeout in rspec occured
* lint
* fix scope of procdump stopper
* fix include scope
* fix invokation
* use proper variable to wait for
2019-06-28 15:01:04 +02:00
Wilfried Goesgens
3c6264b9b0
wait .25, then check whether procdump successfully starts, and if not, properly abort the operation ( #9333 )
2019-06-26 19:08:38 +02:00
Wilfried Goesgens
63568a2aac
add a function that will use procdump to generate a core before attempting to kill the SUT with *nix coredump enabled signals ( #9322 )
2019-06-25 16:25:25 +02:00
Wilfried Goesgens
bf9328cd18
properly forward corecheck option to the client tools launch invokations ( #9313 )
...
* properly forward corecheck option to the client tools launch invokations
* one param was missing
2019-06-25 11:24:55 +02:00
Wilfried Goesgens
f947954f6c
fix the option to specify a ruby executeable from the outside in instead of leaning on rspec.bat to do its job ( #9315 )
2019-06-24 20:39:30 +02:00
Wilfried Goesgens
f3b1de9808
adopt option to do the right thing with gtests ( #9280 )
2019-06-18 11:15:09 +02:00
Wilfried Goesgens
a866f8c6fd
update gtest, use json output for reporting ( #9193 )
2019-06-17 13:46:40 +02:00
Jan
59d84e8301
attempt to remove expired WAL files on agents ( #9231 )
2019-06-09 19:46:45 +02:00
Jan
091abbec77
don't make RocksDB startup fail with 0-byte log files ( #9208 )
2019-06-07 15:13:56 +02:00
Jan
074397d367
allow "stream" attribute on top level ( #9195 )
2019-06-05 15:48:58 +02:00
Wilfried Goesgens
1d2071420b
output setup failures to testfailures.txt ( #9188 )
2019-06-05 09:55:54 +02:00
Dan Larkin-York
44a413a9af
Miscellaneous fixes for named indices ( #9100 )
2019-05-31 17:00:56 +02:00
Frank Celler
7dbb26c0c0
added missing semicolon
2019-05-29 22:58:56 +02:00
Tobias Gödderz
bdfa6c6951
Collect all tests that are skipped due to a previous crash ( #9011 )
2019-05-29 15:32:57 +02:00
Wilfried Goesgens
065b87f9a8
preserve the instance shutdown state, and if its bad, don't clean up the test directory ( #9122 )
...
* preserve the instance shutdown state, and if its bad, don't clean up the test directory
* Update js/client/modules/@arangodb/testing.js
Co-Authored-By: Tobias Gödderz <github@tobias.goedderz.info>
* Update js/client/modules/@arangodb/testsuites/permissions_server.js
Co-Authored-By: Tobias Gödderz <github@tobias.goedderz.info>
* Update js/client/modules/@arangodb/testsuites/permissions_server.js
Co-Authored-By: Tobias Gödderz <github@tobias.goedderz.info>
* Update js/client/modules/@arangodb/testsuites/single.js
Co-Authored-By: Tobias Gödderz <github@tobias.goedderz.info>
* fix handling in custom start/stop handlers
* remove shutdown state from reporting structure
* fix shutdown of second instance
* one more to adjust
* only add jwt if we run the agency with authentification
* lint
2019-05-29 15:59:34 +03:00
Wilfried Goesgens
b7ad25b3fe
only add whitespace if we have actual content to separate ( #9062 )
2019-05-23 14:52:18 +02:00
Wilfried Goesgens
8db0acae79
control the agency dumper via whether we launched an agency or not ( #9058 )
2019-05-23 14:50:44 +02:00
Dan Larkin-York
d5ecdd143a
Convert unit tests to googletest framework ( #9034 )
2019-05-21 09:17:46 +02:00
Wilfried Goesgens
3c5193231f
we now support umlaut temp dirs; create multi-layer temp-dirs; add tests ( #9008 )
...
* we now support umlaut temp dirs; create multi-layer temp-dirs; add tests
* Fix log
2019-05-15 21:47:05 +02:00
jsteemann
8fabe21a79
fix jslint
2019-05-15 14:35:50 +02:00
Wilfried Goesgens
5171771dc8
switch the temp path too ( #9000 )
2019-05-15 12:16:28 +02:00
Andrey Abramov
99f3a1fb75
add missing quote ( #8970 )
2019-05-11 18:30:29 +03:00
Vasiliy
42b830c7a9
issue 561.1: add pretty-printing to analyzers in JavaScript ( #8964 )
2019-05-10 21:50:15 +03:00
jsteemann
d620d5c720
jslint
2019-05-09 19:08:49 +02:00
Jan Christoph Uhde
192ecd2f75
add test for unicode paths ( #8909 )
2019-05-09 19:00:48 +02:00
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