1
0
Fork 0
Commit Graph

1649 Commits

Author SHA1 Message Date
Alan Plum 54fb1a73d8
foxx -> foxx/legacy 2016-04-18 18:00:19 +02:00
Alan Plum 5161c63670
Remove magical Foxx comments 2016-04-18 18:00:18 +02:00
Alan Plum eacf570a39
applicationContext -> module.context 2016-04-18 18:00:17 +02:00
Jan Steemann e14fd29339 fixed cluster test 2016-04-18 17:04:03 +02:00
Jan Steemann a3ad9ba3a3 fixed issue #1805 2016-04-18 15:09:42 +02:00
jsteemann 30ec73e596 AQL bugfixes and tests, CHANGELOG updates 2016-04-17 20:57:13 +02:00
jsteemann 2294a4287c added tests 2016-04-17 11:31:45 +02:00
jsteemann 1ca9606bbc added tests 2016-04-17 11:21:07 +02:00
jsteemann 43f040b3c5 added test cases 2016-04-17 11:04:46 +02:00
Frank Celler e298ac9881 Merge branch 'devel' of github.com:arangodb/arangodb into FMH 2016-04-15 21:05:52 -07:00
Frank Celler cd91d3654e Merge remote-tracking branch 'origin' into FMH 2016-04-15 19:01:38 -07:00
jsteemann 18f54c2dde Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-04-15 17:21:35 +02:00
jsteemann ecd7de16cb added optimizer rule "inline-subqueries" 2016-04-15 17:21:22 +02:00
Jan Steemann 65e6aed49f jslint 2016-04-15 12:40:14 +02:00
Frank Celler 8254bd4bd6 WIP 2016-04-14 21:32:12 -07:00
Max Neunhoeffer e68a60f81f Remove a test that is no longer needed. 2016-04-15 00:39:55 +02:00
Max Neunhoeffer 429e59108b Improve situation with tests. 2016-04-15 00:13:37 +02:00
Jan Steemann 576fcab12b Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-04-13 16:29:26 +02:00
Jan Steemann a0fde1b7b2 allow array values in attribute name bind parameters 2016-04-13 16:29:09 +02:00
Michael Hackstein 1352e3d682 Fixed JSLINT 2016-04-13 15:57:49 +02:00
Michael Hackstein b043b103e0 Optimized IN in AQL pattern Matcher properly. Also added some tests for it 2016-04-13 14:49:21 +02:00
Jan Steemann 9163236f2b renamed optimizer rule "merge-traversal-filter" into "optimize-traversals" 2016-04-12 14:51:15 +02:00
Simran Brucherseifer 5905465c26 Add unit tests for TO_BOOL() and unary not with a whole document 2016-04-09 01:55:00 +02:00
Jan Steemann c2749b850f fixed tests 2016-04-07 17:48:51 +02:00
Jan Steemann 6df7221691 cleanup 2016-04-07 17:08:44 +02:00
Jan Steemann 32c0c91926 fixed tests 2016-04-07 17:01:45 +02:00
Michael Hackstein 1b967d9535 Started fixing AQL-failures-noncluster tests. Still two are failing. Return and Sort. 2016-04-07 14:37:18 +02:00
Jan Steemann b5b1fd705c removed obsolete tests 2016-04-06 17:48:11 +02:00
Jan Steemann 9f8c24b1cd Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk 2016-04-06 15:43:27 +02:00
Jan Steemann 18204c57e8 fixed replication tests 2016-04-06 09:41:31 +02:00
Andreas Streichardt c2cf4be4e0 Remove etcd 2016-04-05 18:41:37 +02:00
Jan Steemann d0f368445a replication fixes 2016-04-05 18:32:09 +02:00
Michael Hackstein dc58c5d769 Fixed Modify edges in cluster test. Expected old return codes 2016-04-04 18:41:28 +02:00
Frank Celler 119c1bd44b Merge branch 'devel' of github.com:arangodb/arangodb into spdvpk 2016-03-31 09:31:32 +02:00
Alan Plum 963fa8f9ff Port #1742 test to 3.0 2016-03-30 16:14:17 +02:00
Jan Steemann 5166dc72d2 jslint 2016-03-24 19:32:31 +01:00
Jan Steemann d9c5877054 test fixes 2016-03-24 19:25:25 +01:00
Michael Hackstein 28a0fd89a8 Removed tests of removed functions BY_EXAMPLE_SKIPLIST / BY_EXAMPLE_HASH 2016-03-24 16:54:19 +01:00
Michael Hackstein 5b3f81b8d5 Fixed test that expected leftover shapes and markers. They can be removed now 2016-03-24 16:46:07 +01:00
Michael Hackstein 9af0a529fa Changed expectation for error message when storing RegExp and Function. Is BAD PARAMETER now, was SHAPER_FAILED. 2016-03-24 15:57:02 +01:00
Michael Hackstein db4b6d2a5b Merge branch 'spdvpk' of github.com:arangodb/arangodb into spdvpk 2016-03-24 15:48:50 +01:00
Michael Hackstein 5b5bf7cad8 Removed tests for byConditionSkiplist. Not supported any more 2016-03-24 15:48:18 +01:00
Michael Hackstein 9371e04a63 Removed tests for CAP constraints and FIRST. Which do not exist any more. 2016-03-24 15:43:59 +01:00
Jan Steemann b9b78aa0d7 fixed test 2016-03-24 15:41:10 +01:00
Michael Hackstein 0d623b58bb Reverted ordering chance in Object sort function. 2016-03-24 13:18:55 +01:00
Michael Hackstein 6a59de8efc Fixed ordering of elements. Internal sort on in-place created documentes behaves a little bit different now 2016-03-24 12:47:48 +01:00
jsteemann b7c1a42f96 test fixes 2016-03-24 01:12:57 +01:00
jsteemann 72a86bccfd removed cap constraints 2016-03-23 23:48:37 +01:00
Jan Steemann 9ac39b7ad6 Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk 2016-03-23 16:36:30 +01:00
Michael Hackstein 2d45a6e5b2 Fixed statistics for Traversals. Also uses less lookups now 2016-03-23 16:04:53 +01:00
Michael Hackstein 42b866804f Fixed test that relied on a non deterministic ordering 2016-03-23 12:45:40 +01:00
Michael Hackstein 9bd35dcb63 Fixed tests for errors in AQL Edges function. It is more relaxed for input parameters. It does not THROW but simply returns an empty array instead 2016-03-23 12:17:59 +01:00
Michael Hackstein 46f4d627e6 Added some tests for Traversals in subqueries 2016-03-23 11:03:54 +01:00
Michael Hackstein 8dfaf023fc The test for EDGES now does not expect 'CollectionNotFound' if the start vertex collection does not exist. 2016-03-22 09:54:45 +01:00
Jan Steemann b672ce0985 test fixes 2016-03-21 12:15:40 +01:00
Jan Steemann f17d17841f Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk 2016-03-21 09:28:35 +01:00
jsteemann 5ded90ed1c fixed compare function for Custom attributes 2016-03-18 13:55:36 +01:00
jsteemann 9209794f36 removed print 2016-03-17 23:08:00 +01:00
jsteemann 7b5b0de86d fixed test 2016-03-17 23:06:57 +01:00
Frank Celler f28f20883a cosmetics 2016-03-16 22:16:56 +01:00
Jan Steemann ba637faea0 do not compare execution times 2016-03-07 11:33:20 +01:00
Jan Steemann af367a3e13 fixed range optimizations 2016-02-24 17:43:17 +01:00
Jan Steemann bc6283fc91 added WITH collections declarative 2016-02-19 18:20:46 +01:00
Michael Hackstein 7388345f87 Fixed JSLINT 2016-02-16 15:18:40 +01:00
Michael Hackstein a3cd1aa54e Merge branch 'devel' of github.com:arangodb/arangodb into vpack 2016-02-15 10:25:31 +01:00
Frank Celler 687f7fdd72 higher wait intervall 2016-02-14 15:34:03 +01:00
Jan Steemann 797fff14c2 fixed issue #1722 2016-02-12 09:45:32 +01:00
Jan Steemann f59cda9151 jslint 2016-02-11 09:18:45 +01:00
jsteemann bee34da616 make replace-or-with-in rule fire in more cases 2016-02-10 23:07:24 +01:00
Jan Steemann 23dfbeee46 optionally restrict logger-follow to a single collection 2016-02-10 16:49:22 +01:00
Jan Steemann 85315ce9db added quantifiers test 2016-02-10 15:20:41 +01:00
Jan Steemann fc9a28e4bc remove invalid test 2016-02-10 14:48:13 +01:00
Jan Steemann 0f0154bb54 added test for condition collapsing 2016-02-10 14:30:40 +01:00
Jan Steemann 5ba2432d78 remove sort in more cases 2016-02-10 11:23:11 +01:00
Alan Plum 950234aaff Recreate missing test from 2.7 2016-02-09 16:50:46 +01:00
Alan Plum 7dbc89d7be Actually register static Foxx model events
Fixes #1665.
2016-02-09 16:50:45 +01:00
Jan Steemann c408691e60 make drop never fail 2016-02-09 11:42:21 +01:00
Jan Steemann 39c3d3d2a2 wait until applier has started 2016-02-09 10:54:37 +01:00
Frank Celler 8a9ac0f372 added duration 2016-02-08 23:38:41 +01:00
Jan Steemann f552d61f26 added test 2016-02-08 12:00:21 +01:00
Jan Steemann 993cf0b0b8 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-02-07 19:48:04 +01:00
Jan Steemann 42c4bdbebb ported from 2.8 2016-02-07 19:47:37 +01:00
Frank Celler 59cbebc870 added stress test for killing 2016-02-07 19:35:37 +01:00
Frank Celler 35408594ed fixed jslint 2016-02-07 14:33:12 +01:00
Frank Celler f85f18bd78 moved tests to testing.js 2016-02-07 13:46:34 +01:00
jsteemann a5c23fe0fe fix parsing forward ticks, fix line numbers in some error messages 2016-02-06 12:32:14 +01:00
Michael Hackstein 84b1f9055d Further implementation of VPackAqlValue functions. This included VALUES and ATTRIBUTES. These functions by accident had an ordering in TRI_json_t which they do not have any more in VelocyPack. Clarified Documentation. 2016-02-04 13:49:59 +01:00
Michael Hackstein 0c11b2f759 Use precision to validate numeric result in ABS 2016-02-03 14:51:46 +01:00
Michael Hackstein 6315ec26a5 Merge branch 'devel' of github.com:arangodb/arangodb into vpack 2016-02-03 10:48:27 +01:00
Michael Hackstein 92c69d2039 Implemented To_Array for VPack 2016-02-02 15:37:05 +01:00
Michael Hackstein f4eae755d6 Moved more tests in aql-operators. 2016-02-02 13:52:10 +01:00
Michael Hackstein 964fbdaabd Started moving tests in aql-operators to use AQL instead of directly using the JS-AQL module. Now they also cover Cxx implementation and AQL parser 2016-02-02 13:28:21 +01:00
Jan Steemann 94ffc16e15 always clean up 2016-02-02 13:08:01 +01:00
Frank Celler ce34f2e50e fixed typo in name 2016-02-02 00:27:32 +01:00
Frank Celler fea9631a9e show progress 2016-02-02 00:13:04 +01:00
Frank Celler b80f9d3bb7 wait longer for server start 2016-02-02 00:03:52 +01:00
Frank Celler 75d5cabcaf fixed error handling 2016-02-01 23:54:26 +01:00
Frank Celler 3154338863 throw in case of error 2016-02-01 12:30:10 +01:00
Frank Celler aa5ffcbccc added logscale 2016-02-01 12:30:10 +01:00
Frank Celler 3b957b9e99 added deadlock test 2016-01-31 22:44:34 +01:00
Andreas Streichardt 8928806a21 Fix lint 2016-01-29 13:02:42 +01:00
Michael Hackstein 651e705ebd Introduced a new EMPTY_GRAPH error which is thrown during AQL execitions whenever the graph has no edge collections. 2016-01-28 18:07:26 +01:00
Michael Hackstein 847463f968 Fixed JSLintQ 2016-01-28 17:29:29 +01:00
Michael Hackstein c04e4f1ca7 Added a test for Multi Direction traversals 2016-01-28 16:40:58 +01:00
Wilfried Goesgens 8a00e2f89a fix lint. 2016-01-27 19:33:16 +01:00
Jan Steemann 2b57652880 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-01-27 19:29:13 +01:00
Jan Steemann de52abbf83 added AQL function `IS_SAME_COLLECTION` 2016-01-27 19:29:01 +01:00
Wilfried Goesgens e1a8726606 Don't optimize the traverser if there are functions on the traversal attribute side; this fixes #1684 2016-01-27 19:21:17 +01:00
Jan Steemann 585208afcf changed directory name pattern for collections 2016-01-27 18:53:16 +01:00
Jan Steemann b6e9cee7e2 fixed tests 2016-01-26 16:44:07 +01:00
Frank Celler 0e0b985289 added missing counter incremenet 2016-01-25 18:33:38 +01:00
Wilfried Goesgens 7e791d2a44 Add possibility to skip tests which tend to be non deterministic for release processes. 2016-01-25 18:07:25 +01:00
Michael Hackstein 09c9bdcd23 Merge branch 'devel' of github.com:arangodb/arangodb into vpack 2016-01-25 15:40:20 +01:00
Michael Hackstein f517247335 Fixed hash-index failure test. No checks for OOM correctly 2016-01-25 15:16:47 +01:00
Frank Celler 3e60f87294 fixed external call to gnuplot 2016-01-25 15:11:45 +01:00
Frank Celler 2d47553f73 fixed wrong variable 2016-01-25 15:07:48 +01:00
Frank Celler dd76a3d162 added crud test 2016-01-25 14:48:04 +01:00
Andreas Streichardt a9b7c0ed83 Add stresstest to devel 2016-01-25 11:46:04 +01:00
Frank Celler 732fb58f86 moved into sub-directories 2016-01-24 13:16:05 +01:00
Frank Celler c2a3f90fde moved tests into sub-directories 2016-01-24 12:21:04 +01:00
Wilfried Goesgens 7e2e1b2082 Lintify 2016-01-22 13:42:03 +01:00
Wilfried Goesgens b8a83578d2 - rename variables to match V ertex, E dge, P ath
- add tests that wrap the graph operations into more obscure quries.
2016-01-22 13:13:58 +01:00
Wilfried Goesgens 7c9ac9c5b8 Migrate jasmine->mocha 2016-01-21 14:24:01 +01:00
Jan Steemann 61f868c9f6 jslint 2016-01-18 18:26:54 +01:00
Jan Steemann a3d93e8a1d jslint 2016-01-18 18:24:48 +01:00
Michael Hackstein cfdbc50e72 Fixed typo in tests 2016-01-18 17:40:12 +01:00
Michael Hackstein e291775ff3 Added tests for filtering over a list of potantially Invalid values with some corect ones in between. Tested for all indexes. 2016-01-18 17:39:57 +01:00
jsteemann 03c4a4fb23 renamed optimizer rule for collect optimization 2016-01-17 00:07:13 +01:00
jsteemann 4abf96e1db removed special case for COLLECT INTO var = expr 2016-01-16 20:20:44 +01:00
Michael Hackstein df4ec3fab2 Fixed function 'teardrop' 2016-01-16 15:17:41 +01:00
Jan Steemann 6d8f9c1b25 added more compaction tests 2016-01-13 15:24:56 +01:00
Jan Steemann c577b8616e allow killing of Collect operations 2016-01-13 13:47:46 +01:00
jsteemann a88070d7be added test cases 2016-01-13 11:24:52 +01:00
jsteemann 59a8cd13dc more aggregate functions 2016-01-13 01:36:50 +01:00
Alan Plum b11c74bd12 shell-foxx-repository-spec to mocha 2016-01-12 18:49:28 +01:00
Alan Plum 46c186b3df shell-foxx-query-spec to mocha 2016-01-12 18:49:27 +01:00
Jan Steemann 6937dbc489 aggregate fixes 2016-01-12 17:21:18 +01:00
Alan Plum c4c8418b6d Add support for mocha in built-in test runner 2016-01-11 20:00:56 +01:00
Jan Steemann 8390793699 moved docu blocks into their own files 2016-01-07 16:39:19 +01:00
Jan Steemann 1e6a07426c collect refactoring 2016-01-07 14:10:32 +01:00
Jan Steemann ad1163e3bb refactoring for Aql COLLECT 2016-01-07 13:35:12 +01:00
Jan Steemann a15c18572f fixed test, added more tests 2016-01-04 19:33:18 +01:00
Alan Plum de9ae5128a underscore -> lodash 2015-12-23 23:30:55 +01:00
Jan Steemann 8781c2d05d added tests 2015-12-23 14:38:48 +01:00
Max Neunhoeffer 9796661ede Make entropy test less sensitive. 2015-12-23 14:12:57 +01:00
Jan Steemann 887e93babc index handling fixes 2015-12-23 14:01:14 +01:00
Jan Steemann 6e3878ec94 changed behavior of [*] operator, added COLLECTION_COUNT internal function 2015-12-22 18:03:59 +01:00
Max Neunhoeffer 8ce0a484e1 Fix graph traversal tests, behaviour and documentation. 2015-12-21 15:20:56 +01:00
Michael Hackstein 60df6b70fc Moved traveral tests into the correct suite. This caused the build to fail 2015-12-21 13:25:02 +01:00
Jan Steemann 36eac6ffd0 fixed index selection in some queries 2015-12-18 20:16:09 +01:00
Michael Hackstein ccc23eda16 Added some more edge cases tests for graph traverser 2015-12-18 16:18:01 +01:00
Jan Steemann 8053911c39 tests for issue #1583 2015-12-18 12:15:52 +01:00
Wilfried Goesgens 52e79fbe53 Fix lint 2015-12-17 14:16:46 +01:00
Wilfried Goesgens 58dbb81eba Cleanup; test de/serlialization. 2015-12-17 13:49:43 +01:00
Wilfried Goesgens d28f87b574 - Test de/serialization of filter arguments
- test multiple edge collection with in and outbound edges
2015-12-17 13:47:54 +01:00
jsteemann c786d9ff5f re-activated tests. jstlint complained about that 2015-12-16 20:13:33 +01:00
Wilfried Goesgens 06005c6939 Also test to de/serialize plans with expressions 2015-12-16 17:07:44 +01:00
Jan Steemann 47d9fd1499 fixed jslint 2015-12-16 11:45:08 +01:00
Michael Hackstein e6e66d4469 Fixed a bug in Traversal Path Uniqueness. 2015-12-16 10:51:54 +01:00
Alan Plum ac291a9a17 Remove redundant test 2015-12-16 01:16:37 +01:00
Alan Plum 9c4bb1500d Linting 2015-12-16 01:16:32 +01:00
Max Neunhoeffer 0198b4576b Merge branch 'devel' into ClustUp1 2015-12-15 20:40:52 +01:00
Michael Hackstein 6636dec958 Added a test for traversal path uniqueness 2015-12-15 18:04:09 +01:00
Max Neunhoeffer 4451e491ec Merge branch 'devel' into ClustUp1 2015-12-15 17:46:34 +01:00
Michael Hackstein 0496f16812 Added a test for AQL edges illegal start vertex values. Tests the reported errors 2015-12-15 16:38:21 +01:00
Michael Hackstein c6e64fc99d Added tests for EDGES to work with Object input 2015-12-15 16:38:14 +01:00
Michael Hackstein 806e8f6d17 Added a test for Array Input in AQL EDGES 2015-12-15 16:37:58 +01:00
Alan Plum 8853ede355 org/arangodb -> @arangodb 2015-12-15 15:51:44 +01:00
Max Neunhoeffer 413e66b432 Merge branch 'devel' into ClustUp1 2015-12-15 11:59:25 +01:00
Jan Steemann aa99434c8c fixed test 2015-12-15 11:57:52 +01:00
Max Neunhoeffer 8a69ca5367 Merge branch 'devel' into ClustUp1 2015-12-15 09:23:51 +01:00
Wilfried Goesgens f51e5efb34 Implement tests for de/serializing of TraversalNodes. 2015-12-14 18:07:04 +01:00
Max Neunhoeffer 27cf790fef Merge branch 'devel' into ClustUp1 2015-12-14 16:46:30 +01:00
Jan Steemann 917892a52a added tests 2015-12-14 11:41:30 +01:00
Max Neunhoeffer 525e54d5a0 Merge branch 'devel' into ClustUp1 2015-12-14 11:26:10 +01:00
jsteemann 51c267cd2a dont optimize in certain cases when its useless 2015-12-14 00:12:14 +01:00
jsteemann 600c48375d added optimizer rule `sort-in-values` 2015-12-13 23:33:44 +01:00
Jan Steemann a61589cfdc jslint 2015-12-11 16:35:02 +01:00
Jan Steemann 5ae891ac20 fix for issue #1603 2015-12-11 16:24:33 +01:00
Max Neunhoeffer c11ec07564 Merge branch 'devel' into ClustUp1 2015-12-11 13:28:07 +01:00
Jan Steemann 4335af50e7 replication improvements 2015-12-10 19:07:10 +01:00
Max Neunhoeffer 3f78b86492 Merge branch 'devel' into ClustUp1 2015-12-09 09:04:00 +01:00
jsteemann f13ffb4dff jslint 2015-12-09 00:21:55 +01:00
Max Neunhoeffer a0f6a3c9db Merge branch 'devel' into ClustUp1 2015-12-08 23:21:46 +01:00
Max Neunhoeffer 06a7196924 Fix test that checks etcd version numbers. 2015-12-08 21:31:46 +01:00
Max Neunhoeffer ec4e37b2f9 Merge branch 'devel' into ClustUp1 2015-12-08 20:13:17 +01:00
Jan Steemann 4cd2621d06 adjusted AQL function return values 2015-12-08 19:45:32 +01:00
Max Neunhoeffer 4e523a19ed Merge branch 'devel' into ClustUp1 2015-12-08 17:02:14 +01:00
Jan Steemann ee6792dd6b fixes for traversal and multi-modify 2015-12-08 14:50:05 +01:00
Max Neunhoeffer 257c6c897d Fix bugs and tests. 2015-12-08 12:48:11 +01:00
Jan Steemann 7c7fc5175b jslint 2015-12-08 12:44:37 +01:00
Jan Steemann a3f42b5072 renamed test method 2015-12-08 11:49:45 +01:00
Jan Steemann f707eddbcc added tests 2015-12-07 16:06:58 +01:00
Jan Steemann a53da38fcd fixed some cluster queries 2015-12-04 17:07:36 +01:00
Jan Steemann b6302a89df valgrind test fix 2015-12-04 15:37:17 +01:00
Wilfried Goesgens 08942dc729 Numeric functions seem to behave different in valgrind; therefore add a way to skip these tests. 2015-12-04 14:23:03 +01:00
Michael Hackstein 741fa73814 JSLint 2015-12-04 12:29:14 +01:00
Michael Hackstein 9a724cd5a6 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-12-04 11:21:28 +01:00
Michael Hackstein 07e1bac837 Added tests for AQL traverser that check correctness if vertices are missing on the path 2015-12-04 11:20:24 +01:00
Jan Steemann 3b1df26a79 added AQL function `IS_DATESTRING` 2015-12-04 10:53:01 +01:00