1
0
Fork 0
Commit Graph

818 Commits

Author SHA1 Message Date
Matthew Von-Maszewski 0eb450f96d
ENCRYPTION file sometimes not cleaned up then causes encrypted test to fail. Now cleaned up. (#9559) 2019-07-24 11:10:06 -04:00
Matthew Von-Maszewski 015f59f0b9
Feature 3.4: Use ManagedDirectory class to add gzip and encryption to import/export (#9472)
* preview code I dropped on jackie today.  only supports document collections.

* saving work in progress

* update arangoexport to fully use ManagedDirectory object (arangoimport still needs work).

* migrate remainder of import to using ManagedDirectory objects

* correct spelling within activateEncryption(): encription to encryption

* forgot to fix up graphExport for managed directory.  luckily unittest noticed.

* add test read of gzip json file

* add readGzip to our fs object

* add TRI_SlurpGzipFile function

* add code to bridge javascript fs.readGzip to TRI_SlurpGzipFile

* correct the return type used by JS_ReadGzip

* add gzip test for jsonl type export

* add remain gzip versions of existing export tests

* add import tests of gzip files

* activate encryption in enterprise to enable fs.readDecrypt()

* bug fix: allow encryption to enable in empty directory if EncryptionFeature active.

* add JS_ReadDecrypt to enterprise build.  Current used for unit tests.

* enterprise build needs EncryptionFeature added to build to support TRI_SlurpDecryptFile()

* add TRI_SlurpDecryptFile() to aid in unit test of encrypted stuff

* missing newline at end of file.

* add fs.readDecrypt when available

* add test of encrypted json array export

* correct progress meter when gzip involved

* move from using ManagedDirectory::File to ManagedDirectory::readableFile calls

* create version of readableFile that uses file descriptor as param
2019-07-23 14:58:34 -04:00
KVS85 a1959fd485
wait .25, then check whether procdump successfully starts, and if not, properly abort the operation (#9343) 2019-06-27 10:47:27 +02:00
Wilfried Goesgens 7d822355b3 Bug fix 3.4/forward corecheck option (#9336)
* properly forward corecheck option to the client tools launch invokations

* one param was missing
2019-06-26 14:26:14 +02:00
KVS85 68493ef7ef
add a function that will use procdump to generate a core before (#9330) 2019-06-26 11:16:00 +02:00
KVS85 3e57144db5
fix the option to specify a ruby executeable from the outside in instead of leaning on rspec.bat to do its job (#9320) 2019-06-25 11:19:35 +02:00
Jan 2de2d92054
remove archived RocksDB WAL files on agent servers (#9230) 2019-06-08 19:40:07 +02:00
Wilfried Goesgens 8e0ebb00c6 Bugfix/backport fs changes (#9024) 2019-05-23 12:46:47 +02:00
KVS85 919e4a008e Fix load_balancing suite to conform testing.j options (3.4) 2019-05-06 17:26:43 +02:00
KVS85 5ba716e3e3
Enable logs for setup of recovery test (in 3.4) 2019-05-05 13:42:27 +03:00
KVS85 7fbd724a4f
Set 2700s server JS timeout again 2019-05-03 17:12:04 +03:00
KVS85 44849f4e57 Backport testing changes from devel 2019-04-22 12:24:09 +02:00
Frank Celler fb3dc0775e added buckets 2019-04-21 14:58:49 +02:00
KVS85 4ebd64b313 3.4: grey only (#8787)
* 3.4: grey only

* Update testing.js
2019-04-17 19:29:52 +02:00
Jan 0133f3c48d
increase the timeout for more reliable test results (#8735) 2019-04-15 10:16:42 +02:00
KVS85 c318a1c6db Restore 1800s timeout on server tests (#8738) 2019-04-11 21:11:16 +02:00
Wilfried Goesgens fa9460c927 Reduce test leftovers on disk (#8708) 2019-04-11 11:42:27 +02:00
Jan 96d6949731
Bug fix 3.4/increase test shutdown timeout to 60s (#8720) 2019-04-10 08:27:51 +02:00
Jan 22d572c543
Bug fix 3.4/fix test muell (#8704) 2019-04-09 11:27:07 +02:00
Wilfried Goesgens 8103561c1d Feature 3.4/sort buckets dump agency allways (#8679) 2019-04-04 14:50:44 +02:00
jsteemann 2a90dfe60b fix link to Foxx-CLI 2019-04-04 10:26:28 +02:00
KVS85 b58de5166a Try 2700s timeout for server tests (#8642) 2019-04-01 13:51:37 +02:00
KVS85 d38b231f43 Backport testing improvement from devel 29.03.2019 (#8629) 2019-03-29 23:33:45 +01:00
KVS85 f0aaaf373d Allow replication suite filtering (#8587) 2019-03-26 20:25:51 +03:00
Jan 3f3f0c6fe3
Feature 3.4/ncc1701 (#8441) 2019-03-21 14:53:28 +01:00
Jan db7fcdce7a
don't run compact() on a collection after a truncate() was done in the same transaction (#8471)
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 that is
  taken at transaction start.

  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.
2019-03-20 17:44:06 +01:00
KVS85 85481b2cb0 Add bucket number info to testfailures output (3.4) (#8473) 2019-03-20 15:56:16 +01:00
KVS85 223771037a Fix upgrade_data tests (#8460) 2019-03-20 11:05:20 +01:00
Jan 54ff79d884
use requireFromPresent and barriers in more cases (#8399) 2019-03-13 15:16:13 +01:00
jsteemann 2fbc683b46 try..catch to avoid useless failures 2019-01-29 17:58:11 +01:00
Frank Celler 84802fdc0f Feature/maskings (#8006) 2019-01-28 15:04:23 +01:00
Jan 15852cb491
Bug fix 3.4/address jenkins fails (#7985) 2019-01-22 12:32:17 +01:00
KVS85 dfad8906d9 Bug fix/active failover fix windows 3.4 (#7959)
* Backport active-failover fix for Windows into 3.4

* Backport stop/resume for Windows from devel

* Backport changes from devel into tests also

* Fix tests

* Remove forgotten whitespaces
2019-01-16 11:08:48 +01:00
KVS85 4ec76574dd Remove procdump usage while taring archives (3.4) (#7816)
* Remove procdump usage while taring archives

* Add 3.2 upgrade-data tests to oskar blacklist for 3.4

* Fix typo

* Add 3.4 upgrade-data tests to oskar blacklist for 3.4
2018-12-21 11:40:04 +01:00
Wilfried Goesgens 656fd89bcf Bug fix 3.4/wait for procdump (#7753)
* 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:48 +01:00
Dan Larkin-York 48275c55a5 Update upgrade data tests for compatibility with Oskar. (#7484) 2018-12-10 16:44:46 +01:00
Tobias Gödderz a572f09f15 Fix variable access (#7714) 2018-12-10 15:50:23 +01:00
Tobias Gödderz 00bbcfeea1 Fix error messages, allow usage of rr with the recovery suite (#7540) 2018-12-10 12:44:01 +01:00
Frank Celler def7900f53 added agency collctions to list of exceptions 2018-12-05 13:50:09 +01:00
Wilfried Goesgens 401fc901fa add missing rootDir parameter (#7547) 2018-11-29 15:24:32 +01:00
Wilfried Goesgens c148c41f12 make the recovering server output its log (#7468) 2018-11-26 19:16:57 +01:00
Wilfried Goesgens eb41c6afcc Bug fix 3.4 /resync test (#7435) 2018-11-26 14:05:33 +01:00
Michael Hackstein 75f89ed74b
Bug fix/update foxx services after restore (#6774) (#7455)
* 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

* Removed debug-log output from foxx manager
2018-11-26 13:22:50 +01:00
Frank Celler b5a4c71313 allow buckets for authentication 2018-11-23 22:11:42 +01:00
Wilfried Goesgens c9490bd83f re-connect force terminate mechanism on test timeout (#7424) (#7433) 2018-11-23 18:48:01 +01:00
Wilfried Goesgens ed31545a5c Bugfix/fix recovery testsuite (#7396) (#7412) 2018-11-23 13:55:09 +01:00
Simon ef239cbe4e Make recovery more reliable (#7297) (#7367) 2018-11-21 16:51:38 +01:00
Wilfried Goesgens 44de986023 make our tools output their log messages (#7404) 2018-11-21 16:49:54 +01:00
Simon 6ef3aef83f add timeout (#7397) 2018-11-21 14:16:49 +01:00
Michael Hackstein 292a218bea
Bug fix 3.4/enable ldap tests (#6828)
* Remove LDAP tests from Oskar black list

* Fixed handover of ldapHost and ldapPort in ldap tests.
2018-11-12 13:27:00 +01:00