1
0
Fork 0
Commit Graph

1100 Commits

Author SHA1 Message Date
Jan Steemann 4ef82239a3 added optimizer statistics 2014-12-03 11:38:56 +01:00
Jan Steemann 8e2c5176f4 fixed segfault 2014-12-03 10:47:35 +01:00
James 0646a5a98e Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into aql-feature-index-or
Conflicts:
	CHANGELOG
	arangod/Aql/ExecutionBlock.cpp
	arangod/Aql/OptimizerRules.cpp
	arangod/Aql/grammar.cpp
	js/server/tests/aql-optimizer-indexes.js
2014-12-02 10:42:04 +00:00
James fed9e98aca Merge branch 'master' of ssh://github.com/triAGENS/ArangoDB into aql-feature-index-or
Conflicts:
	CHANGELOG
	arangod/Aql/ExecutionBlock.cpp
	arangod/Aql/OptimizerRules.cpp
	js/server/tests/aql-optimizer-indexes.js
2014-12-02 10:36:06 +00:00
Jan Steemann aa37504e09 jslint 2014-11-28 17:55:01 +01:00
Jan Steemann b6e182fd0f added tests 2014-11-28 17:53:28 +01:00
Jan Steemann 42e7c64de6 fixed jslint warnings 2014-11-28 17:52:18 +01:00
Jan Steemann 544f7d4ab4 fix optimization of subqueries
Conflicts:
	CHANGELOG
2014-11-28 17:51:50 +01:00
Jan Steemann 99530f6478 fixed invalid optimization, added test cases
Conflicts:
	CHANGELOG
2014-11-28 17:50:17 +01:00
Jan Steemann 1f5db121db renamed function, updated documentation
Conflicts:
	CHANGELOG
2014-11-28 17:46:29 +01:00
Jan Steemann 5bf621e756 added test case 2014-11-28 17:35:16 +01:00
Jan Steemann 06af1d3af2 added several AQL functions 2014-11-28 17:34:29 +01:00
Jan Steemann b3d46923f2 jslint 2014-11-27 13:08:09 +01:00
James 40a67f47c7 Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into aql-feature-index-or
Conflicts:
	arangod/Aql/ExecutionBlock.cpp
	arangod/Aql/OptimizerRules.cpp
2014-11-27 09:25:43 +00:00
Jan Steemann e7c7f774e0 added tests 2014-11-26 20:24:28 +01:00
Jan Steemann 513ae2b3dd fixed jslint warnings 2014-11-26 15:24:03 +01:00
Jan Steemann 57aefb988d fix optimization of subqueries 2014-11-26 15:01:55 +01:00
Jan Steemann c69fa0b0dc fixed invalid optimization, added test cases 2014-11-25 23:18:24 +01:00
James e73a05bb16 adjust further test 2014-11-22 16:07:10 +00:00
James 7f59881c99 fixing test 2014-11-22 16:03:11 +00:00
James b040a7e544 updating test 2014-11-22 15:52:03 +00:00
Jan Steemann ed919090ea renamed function, updated documentation 2014-11-20 14:46:32 +01:00
Jan Steemann 620274047f Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql-functions
Conflicts:
	CHANGELOG
2014-11-20 14:23:01 +01:00
scottashton 28d7230d47 fixed a test 2014-11-20 11:07:24 +01:00
scottashton e36aa92f58 fixed a test 2014-11-20 11:06:50 +01:00
Lucas Dohmen c0a02f9f8a Merge pull request #1096 from sarhugo/model-events
Model events
2014-11-19 09:24:12 +01:00
Jan Steemann ea6c7a287c added test case 2014-11-18 11:27:38 +01:00
Jan Steemann baba563a78 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql-functions 2014-11-18 11:27:06 +01:00
Jan Steemann f1f13a4284 added several AQL functions 2014-11-18 11:26:42 +01:00
scottashton 8f3779b1eb added maxIterations param to GRAPH_EDGES and GRAPH_NEIGHBORS 2014-11-18 09:43:31 +01:00
scottashton 8635862224 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-11-18 09:42:26 +01:00
scottashton 40f270f22c added maxIterations param to GRAPH_EDGES and GRAPH_NEIGHBORS 2014-11-18 09:42:17 +01:00
Jan Steemann 32c1404eec added tests 2014-11-18 07:02:35 +01:00
Jan Steemann fc0b63967f fixed WITHIN_RECTANGLE for cluster 2014-11-18 07:02:08 +01:00
Jan Steemann 336d456beb issue #1100: HAS() fails on doc[attribute_name] 2014-11-18 07:01:51 +01:00
Jan Steemann 52b527bbe1 added tests 2014-11-17 13:55:35 +01:00
Jan Steemann 675e2a0d40 fixed WITHIN_RECTANGLE for cluster 2014-11-17 12:32:43 +01:00
Jan Steemann 065a5ecef0 issue #1100: HAS() fails on doc[attribute_name] 2014-11-17 11:38:57 +01:00
Max Neunhoeffer 257a382684 Fix tests with new estimateCost functions. 2014-11-16 20:12:46 -05:00
Max Neunhoeffer f4f4193368 Remove a test for cost estimation. 2014-11-15 21:30:17 -05:00
Max Neunhoeffer 57913a5f5a Fix another test for AQL and new estimates. 2014-11-14 23:13:00 -05:00
Max Neunhoeffer 752b603e5f Adjust local test (do not test whether cost estimate is zero). 2014-11-14 23:08:42 -05:00
Jan Steemann ac667d5e5a added tests 2014-11-14 13:27:33 +01:00
Jan Steemann 71c050d2fa renamed function 2014-11-14 13:06:44 +01:00
Hugo Sarti 619b8cf810 Before/After events at Repository.remove method 2014-11-13 10:55:53 -03:00
James f797afe0d5 Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into aql-feature-lazy-index 2014-11-13 08:04:25 +00:00
Hugo Sarti 26451ea7c3 Before/After events at Repository.update method 2014-11-12 16:27:25 -03:00
Hugo Sarti 298f7dea1e Before/After events at Repository.save method 2014-11-12 16:05:59 -03:00
Jan Steemann d6c38f39ed minor test adjustments 2014-11-12 08:50:13 +01:00
Jan Steemann 2d2ad1b4c6 added tests for accessing _from and _to of a non-edge collection 2014-11-12 08:28:24 +01:00
Jan Steemann 8c08a3b24a make `CONCAT` and `CONCAT_SEPARATOR` more useful 2014-11-12 00:07:03 +01:00
Jan Steemann 435016abcd added functions `VALUES` and `ASSEMBLE` 2014-11-11 23:07:45 +01:00
Jan Steemann 3ba00ca653 added `SUBSTITUTE` AQL function 2014-11-11 22:35:15 +01:00
Hugo Sarti 54812d1e02 Model as an EventEmitter 2014-11-11 18:22:07 -03:00
Jan Steemann 40ae5728e0 issue #1032: added `FIND_FIRST` and `FIND_LAST` 2014-11-11 18:05:04 +01:00
Jan Steemann 9ccf7b85f4 issue #1033: added SPLIT function 2014-11-11 16:35:40 +01:00
Jan Steemann 537ec80dc1 issue #1044: added LTRIM, RTRIM 2014-11-11 14:58:03 +01:00
Willi Goesgens d96907d8da Implement tastks REST api
- Implement REST api for tasks
 - Implement wrappers in arangosh
 - Add API-documentation
 - move unittest from server to common
2014-11-11 12:39:09 +01:00
James ed91b1b1cd fixing test. 2014-11-11 08:49:16 +00:00
James 3e612acdda Merge branch 'aql-feature-lazy-index' of ssh://github.com/triAGENS/ArangoDB into aql-feature-lazy-index 2014-11-11 08:23:23 +00:00
James 08e8fd193e Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into aql-feature-lazy-index 2014-11-11 08:21:40 +00:00
Jan Steemann ed8e06b88e added PERCENTILE function, draft 2014-11-10 18:10:59 +01:00
Jan Steemann 12d326d62b updated documentation and operators behavior 2014-11-10 18:05:11 +01:00
scottashton 5743bb2b58 added tests for is-in-polygon 2014-11-10 11:31:57 +01:00
scottashton 1feb2df0c9 added tests for is-in-polygon 2014-11-10 11:29:45 +01:00
Jan Steemann 37751ecc7a updated tests
updated docs
2014-11-10 10:54:50 +01:00
Jan Steemann 9c5d150866 use Ast::ReverseOperator 2014-11-08 22:31:31 +01:00
Jan Steemann 44d5dd2749 added test to Makefile, fixed jslint warning 2014-11-08 21:06:06 +01:00
James 31de49cccd adding comment 2014-11-08 17:35:39 +00:00
James e2b8456395 tests and bugfixes. 2014-11-08 17:31:30 +00:00
James e9b761f1ca another test for replace-or-with-in 2014-11-08 12:17:13 +00:00
scottashton f72554d01e added tests for aql functions within-rectangle and is-in-polygon 2014-11-07 15:55:41 +01:00
Jan Steemann b0de1bb226 leaner and meaner error messages 2014-11-07 10:53:00 +01:00
Willi Goesgens 7e897ec39b Implement tests with sorting on texts 2014-11-06 13:35:04 +01:00
James 868a7339fd added 2 more tests for replace-OR-with-IN 2014-11-06 08:39:56 +00:00
Jan Steemann bf30927913 removed canThrow tag for various built-in functions 2014-11-05 14:40:00 +01:00
Jan Steemann 19dc758c1a added test 2014-11-05 13:04:57 +01:00
Jan Steemann cbb96b31c2 fixed jslint warnings 2014-11-05 11:20:20 +01:00
Jan Steemann 74ef8a71a2 added to Makefile 2014-11-05 11:20:04 +01:00
James 643bb4f43b more tests 2014-11-04 21:22:19 +00:00
James 9c71ee48c7 and more 2014-11-04 20:38:56 +00:00
James 206df8fc12 more tests. 2014-11-04 20:28:30 +00:00
James a5fffd696e more tests 2014-11-03 20:46:18 +00:00
James d992b100fa tests complete. 2014-11-03 20:25:16 +00:00
James 836fa08831 adding tests 2014-11-03 11:45:43 +00:00
Jan Steemann e669dc7c29 re-activated tests 2014-11-01 18:06:15 +01:00
Jan Steemann d1bf47a14a fixed issue when rolling back remove operations that could not remove from indexes 2014-11-01 18:03:57 +01:00
Jan Steemann e2cfa056c0 pass query warnings around in cluster 2014-11-01 16:36:58 +01:00
Jan Steemann 26c3b0174f fixed tests 2014-10-31 19:58:20 +01:00
Jan Steemann 4f68960ed7 removed Ahuacatl [skip ci] 2014-10-31 17:31:00 +01:00
Jan Steemann 89c20d436c jslint 2014-10-30 19:18:47 +01:00
Jan Steemann 83252851e6 report warnings in queries 2014-10-30 17:33:15 +01:00
Max Neunhoeffer 609adf0d37 Fix tests on cluster. 2014-10-30 10:57:31 +01:00
Max Neunhoeffer e5249582ed Fix tests in cluster. 2014-10-30 10:47:09 +01:00
Max Neunhoeffer 9a67b9a2cb Fix tests for cluster. 2014-10-30 10:17:52 +01:00
Willi Goesgens 2c3c7155e0 Adjust test to cluster. 2014-10-29 16:22:31 +01:00
Willi Goesgens f3381ef0a8 Split cluster/noncluster for sort. 2014-10-29 15:39:30 +01:00
Willi Goesgens 34f84ee2d4 Fix lint. 2014-10-29 14:44:56 +01:00
Max Neunhoeffer e90bdfcf35 Fix two tests. 2014-10-29 13:51:48 +01:00
Jan Steemann ca15e72b14 fixed test 2014-10-29 12:33:10 +01:00
Max Neunhoeffer 18990d9b95 Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel 2014-10-29 08:57:34 +01:00
Jan Steemann 0e27ccbfdb jslintified tests 2014-10-28 15:59:38 +01:00
Jan Steemann 50f6129e47 jslintified tests 2014-10-28 15:02:37 +01:00
Max Neunhoeffer 955a975b72 Fix test in cluster. 2014-10-28 11:01:21 +01:00
Max Neunhoeffer 77bc556ff2 Make cluster compatible by ignoring cluster always on rules. 2014-10-28 11:00:07 +01:00
Max Neunhoeffer f3fdb8ff4e Rename again. 2014-10-28 10:58:59 +01:00
Max Neunhoeffer cc56e21ce0 Rename test. 2014-10-28 10:58:01 +01:00
Jan Steemann 02c26720a4 fixed test 2014-10-27 17:10:25 +01:00
Jan Steemann b7c93c361a fixed tests 2014-10-27 16:43:10 +01:00
Jan Steemann 7a2f45ab1a fixed test 2014-10-27 13:30:45 +01:00
Jan Steemann eb53667346 fixed tests 2014-10-27 13:12:56 +01:00
James c41b1f8e5f proper tests for undistribute-remove-after-enum-coll and distribute-in-cluster 2014-10-25 16:37:22 +01:00
James 3b14c1f283 fixing undistribute-remove-after-enum-coll tests 2014-10-25 14:26:00 +01:00
James 9bcf115951 fixing distribute-in-cluster tests 2014-10-25 14:25:24 +01:00
Jan Steemann f87005ae0b attempt to make test more deterministic 2014-10-24 13:18:48 +02:00
Jan Steemann a3c05ccf3a attempt to make test more deterministic 2014-10-24 10:37:01 +02:00
Jan Steemann 3dc2f9b299 fixed test 2014-10-22 16:30:06 +02:00
Jan Steemann 5d178b7220 fixed test 2014-10-22 13:37:48 +02:00
James 2496a8dc3e fixing GatherBlock tests. 2014-10-21 17:04:49 +01:00
Jan Steemann 5d1986aafb fixed test 2014-10-21 14:50:37 +02:00
Jan Steemann 97a4355c4e fixed tests 2014-10-21 13:45:46 +02:00
Jan Steemann 6e7ed4c4d4 fixed tests 2014-10-21 13:01:24 +02:00
Jan Steemann c91355831b Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-10-21 12:50:37 +02:00
Jan Steemann 2617f3879c fixed primary index usage in cluster 2014-10-21 12:50:06 +02:00
Frank Celler 6def59d804 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-10-21 12:28:45 +02:00
Frank Celler a7d93abe43 fixed requireApp in development mode 2014-10-21 12:28:33 +02:00
Jan Steemann 4e4550aa11 fixed tests 2014-10-21 12:09:58 +02:00
Jan Steemann 6883651c3c fixed usage of indexes in cluster 2014-10-21 11:53:24 +02:00
Jan Steemann 8b7da8aacb the great rename 2014-10-21 00:38:53 +02:00
Michael Hackstein 55f2d57fb4 Reunified ahuacatl-general-graph and aql-general-graph. Fixed JSLint in aql 2014-10-20 12:42:17 +02:00
Frank Celler 13a45f56f5 removed superfluous test, because of possible race condition 2014-10-20 10:34:58 +02:00
Michael Hackstein 0313c74b66 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-10-20 09:36:39 +02:00
James 82b38b022d tests for gather block 2014-10-18 17:08:19 +01:00
James 282341b2d9 more tests for distribute-in-cluster 2014-10-18 15:47:32 +01:00
Jan Steemann 19502fee8e fixed some tests 2014-10-17 18:50:00 +02:00
Michael Hackstein f6e16315de Fixed a bug and a conceptional misunderstanding in GRAPH_NEIGHBORS 2014-10-17 16:56:05 +02:00
James 380b118f11 more tests for distribute-in-cluster. 2014-10-17 11:26:23 +01:00
Jan Steemann 9ba259af97 fixed failing tests 2014-10-16 18:21:13 +02:00
Jan Steemann 9311d74abc fixed failing tests 2014-10-16 18:19:32 +02:00
Michael Hackstein 5da5bf112a Improved Graph AQL query tests. Some tests are missing. 2014-10-16 09:21:11 +02:00
Willi Goesgens 26e28f4430 Flag this performance test as timecritical so we can skip this from valgrind tests. 2014-10-15 13:34:22 +02:00
James 9404158123 adding elementary test file for distribute-in-cluster 2014-10-15 09:01:47 +01:00
Jan Steemann fc8094e832 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-10-14 13:20:18 +02:00
Jan Steemann 6895ba9e27 fixed tests 2014-10-14 13:20:10 +02:00
James 1bed52300e Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel 2014-10-14 11:29:34 +01:00
James adca1117ff removing debug output, up dating tests. 2014-10-14 11:29:14 +01:00
Jan Steemann dfb1905035 fixed tests 2014-10-14 12:03:25 +02:00
Willi Goesgens fa926a48a7 Add timecritical option to the unittests 2014-10-14 11:04:45 +02:00
Willi Goesgens b68c7c6a9a Mark test as being timecritical 2014-10-14 10:18:05 +02:00
Willi Goesgens 0688222b32 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-10-14 10:17:34 +02:00
Willi Goesgens 4e68920c0e Lintify. 2014-10-14 10:15:23 +02:00
Jan Steemann 7be268c07c changed AQL optimizer to not throw 2014-10-14 10:14:40 +02:00
Willi Goesgens 8362986f42 One more correction to the list of nodes to be expected when having a LET in the statement. 2014-10-13 13:57:43 +02:00
Willi Goesgens 0b3ec972eb more places to fix the let-calculationnode gone away. 2014-10-13 11:44:16 +02:00
Willi Goesgens 9a3bcfce88 Adjust the tests expectation to the new way of not having an extra calculation node for let assignment (as introduced with #dd92042e0b1e66f767237692b7071e4bfc385b80 ) 2014-10-13 10:57:39 +02:00
Jan Steemann 77ff3642c9 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-10-10 18:58:07 +02:00
Jan Steemann 23e692e7fa added FIND_FIRST, not yet documented 2014-10-10 18:57:57 +02:00
Willi Goesgens 3a7a03a51f Don't add intermediate calculationnodes for LET-statements to forward the results of subqueries. Instead adjust the outvariable of the subquerynode. 2014-10-10 17:00:49 +02:00
James 084078f61f fixed tests for remove-unnecessary-remote-scatter and undistribute-remove-after-enum-coll, renamed distributeInCluster to scatterInCluster. 2014-10-09 08:45:34 +01:00
Jan Steemann 8294e54f32 faster import 2014-10-08 17:01:45 +02:00
Jan Steemann 0f59de2041 added recovery tests for rename 2014-10-08 15:22:36 +02:00
James 032e5d085e reset _initializeCursorOrShutdown in shutdown method, renaming test file. 2014-10-06 10:35:50 +01:00
James 5d9cfa75e4 bug fixes in last. 2014-10-04 15:25:54 +01:00
James 107068f20b adding aql-optimizer-rule-undistribute-remove-after-enum-coll.js 2014-10-04 15:21:20 +01:00
James 134947b838 cleaning up 2014-10-04 14:50:45 +01:00
James 63cd8fb102 more tests in remove-unnecessary-remote-scatter-cluster.js 2014-10-04 14:46:23 +01:00
James ca589d67dc more tests in remove-unnecessary-remote-scatter-cluster.js 2014-10-04 14:45:01 +01:00
Jan Steemann c69360235b added test 2014-10-03 01:24:58 +02:00
Jan Steemann a70856f21a added tests 2014-10-02 10:49:32 +02:00
Jan Steemann ce9499eac8 less string copying, less regex slowdown when importing CSV files 2014-09-30 23:20:12 +02:00
Jan Steemann eb2e421c08 issue #1030: too big numeric values lead to arangoimp crashing on Windows 2014-09-30 17:25:54 +02:00
James 9f210a2d46 adding short test for remove-unnecessary-remote-scatter. 2014-09-30 11:11:15 +01:00
Jan Steemann 792f5149dc adjusted return values 2014-09-24 17:33:17 +02:00
Jan Steemann f8655b29c5 changed return code 2014-09-24 17:20:38 +02:00
Jan Steemann d7c40a29e1 fixed tests 2014-09-24 17:14:44 +02:00
Jan Steemann 009396f7b0 Merge branch 'aql2' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	arangod/V8Server/v8-wrapshapedjson.cpp
2014-09-23 08:35:32 +02:00
Jan Steemann 74c9653f6f fixed range-info equality flag after fusing 2014-09-19 22:07:06 +02:00
Jan Steemann d03faffc53 remove subqueries that produce results that are not used in a query 2014-09-18 23:03:43 +02:00
Jan Steemann 1016debd2e more robust recovery 2014-09-18 17:47:37 +02:00
Willi Goesgens e6fc39f15a Enable first tests for indexes using DESC 2014-09-17 16:28:57 +02:00
Max Neunhoeffer 3c675fee44 Merge branch 'aql2' of ssh://github.com/triAGENS/ArangoDB into aql2 2014-09-17 14:08:18 +02:00
Max Neunhoeffer 2cdc5f4cd7 Fix skiplistback-ung and usage in AQL. 2014-09-17 14:07:23 +02:00
Willi Goesgens f3d5974ae0 Implement tests for de/serialisation of insert/update/replace queries. 2014-09-17 11:05:50 +02:00
Jan Steemann 5c820cea34 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	arangod/V8Server/v8-vocbase.cpp
2014-09-16 16:33:47 +02:00
Jan Steemann 71e0d51ffe added bounds tests 2014-09-16 15:56:16 +02:00
Jan Steemann 992ac23450 fixed ranges 2014-09-16 15:48:33 +02:00
Lucas Dohmen a9e674b368 Merge pull request #1024 from triAGENS/repo-methods
Made Foxx.Repository methods behave more consistently (fixes #975)
2014-09-16 15:44:31 +02:00
Jan Steemann 13fbd82e12 fixed test 2014-09-16 15:13:58 +02:00
Jan Steemann 83819407ba Merge branch 'aql2' of https://github.com/triAGENS/ArangoDB into aql2 2014-09-16 15:10:59 +02:00
Jan Steemann 54b5e7b034 slightly improved access to dynamic bounds 2014-09-16 15:10:43 +02:00
Alan Plum 0de1da4cc8 Adjusted tests to reflect corrected behaviour. 2014-09-16 14:58:24 +02:00
Alan Plum e04cfebfe2 Added tests and docs for param shorthand syntax, allow passing 'allowMultiple' via joi.meta, fixed joi.required/optional being ignored. 2014-09-16 11:33:35 +02:00
Willi Goesgens 96c9132f93 - Fix queries so they can actually be executed.
- add cross test for deserializing plans
2014-09-16 11:27:36 +02:00
Jan Steemann 677e681b23 adjusted test 2014-09-15 18:17:42 +02:00
Jan Steemann 69d0703a68 fixed teardown 2014-09-15 16:13:35 +02:00
Jan Steemann bc7c7c5c60 fixed construction of bounds from json 2014-09-15 16:11:59 +02:00
Jan Steemann 99683e3021 added test for dynamic bounds 2014-09-15 15:28:31 +02:00
Jan Steemann 481a16fd7a removed bitarray indexes 2014-09-15 14:19:38 +02:00
Willi Goesgens b5688131f5 Work on the sort unit tests 2014-09-15 12:52:32 +02:00
Jan Steemann 6fb48cdd0c fixed test expectation 2014-09-15 12:25:16 +02:00
Willi Goesgens 258cf9ee7d Fix the result analysis of the multi-plan cross tests 2014-09-15 10:57:26 +02:00
Jan Steemann 34d2913002 added NOT IN operator, added keywords NOT, AND, OR 2014-09-14 01:34:58 +02:00
Jan Steemann ed7e5d0e67 allow primary key access via _id attribute, too 2014-09-14 00:46:44 +02:00
Jan Steemann 26a24bf5a2 adjusted tests 2014-09-12 17:18:36 +02:00
Jan Steemann 76c1da4e9c added test for remove-redundant-calculations 2014-09-12 16:58:01 +02:00
Willi Goesgens 3e502b672d Test execute all optimizer generaten variations of the plans and compare all their results. Don't do this with Queries which we know that they will fail. 2014-09-12 14:48:18 +02:00
Willi Goesgens d2a5ad91f3 Adjust the access to the IndexRangeNodes ranges to respect the two dimmensional list. 2014-09-12 11:16:25 +02:00
Willi Goesgens 9bb0f22b7b Cleanup tests to make the linter happy, move multi-query-helper into the aql-helper. 2014-09-12 10:40:44 +02:00
Willi Goesgens dfae2d92c5 Fix indention 2014-09-12 09:49:38 +02:00
Jan Steemann 5f4c27f311 added test 2014-09-12 09:07:34 +02:00
Jan Steemann 0b018d26cf Merge branch 'aql2' of https://github.com/triAGENS/ArangoDB into aql2 2014-09-11 18:19:14 +02:00
Jan Steemann 2767bdc7e0 use edge index on both _from and _to 2014-09-11 18:19:05 +02:00
Willi Goesgens 2a6a6fd132 work on test which inspects all optimizer passes by executing them via the AQL_EXECUTEJSON interface 2014-09-11 18:00:47 +02:00
Jan Steemann 7a2774b822 Merge branch 'aql2' of https://github.com/triAGENS/ArangoDB into aql2 2014-09-11 15:50:56 +02:00
Jan Steemann d4cb250d4a fixed tests 2014-09-11 15:50:50 +02:00
Max Neunhoeffer a532544a9f Fix test for new IndexRange behaviour. 2014-09-11 14:48:41 +02:00
Max Neunhoeffer aa00df7edf Merge branch 'aql2' of ssh://github.com/triAGENS/ArangoDB into mmh
Conflicts:
	arangod/Aql/ExecutionBlock.cpp
	arangod/Aql/Query.h
2014-09-11 14:31:13 +02:00
Jan Steemann 611ef2b73c removed "old" AQL function AQL_EXPLAIN 2014-09-11 14:12:01 +02:00
Jan Steemann 318921de00 Merge branch 'aql2' of https://github.com/triAGENS/ArangoDB into aql2 2014-09-11 13:36:23 +02:00
Jan Steemann 19ab100576 added range test 2014-09-11 13:36:16 +02:00
Willi Goesgens 0225311f2d Merge branch 'aql2' of github.com:triAGENS/ArangoDB into aql2 2014-09-11 13:25:18 +02:00
Willi Goesgens 01363e6759 UnitTests: divert to AQL2 in the modifying queries tests; adjust to new reply-syntax. 2014-09-11 11:32:44 +02:00
Willi Goesgens f8b681a5f8 re-enable test; its working now. 2014-09-11 11:31:49 +02:00
Jan Steemann cb4c60a36f explain tests 2014-09-11 09:54:59 +02:00
Max Neunhoeffer 7b8cc04d90 Merge branch 'aql2' of ssh://github.com/triAGENS/ArangoDB into mmh 2014-09-10 16:10:32 +02:00
Jan Steemann c034307dca Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	arangod/Utils/CollectionNameResolver.h
2014-09-10 15:54:49 +02:00
Michael Hackstein 9b62c7367b Deprecated _directedRelation and _undirectedRelation in general-graphs. Created _relation in general-graphs creating a _directedRelation. Handling undirected relations is now given to the user / api-implementor as arangodb itself does not offer any direction constrains which caused some confusion 2014-09-10 15:50:22 +02:00
Max Neunhoeffer 8bb938b6de Merge branch 'aql2' of ssh://github.com/triAGENS/ArangoDB into mmh 2014-09-10 15:21:00 +02:00
Max Neunhoeffer 69c464ef13 Restructure RangesInfo handling to allow for variable ranges. 2014-09-10 15:20:28 +02:00
Jan Steemann 1907d8bb05 added optimizer rule test 2014-09-10 14:35:18 +02:00
Willi Goesgens 74248e64f0 Finalize the remove unnecessary calculation tests. 2014-09-10 13:58:53 +02:00
Max Neunhoeffer 5552d21711 Merge branch 'aql2' of ssh://github.com/triAGENS/ArangoDB into mmh 2014-09-10 12:15:00 +02:00
Jan Steemann c05d844626 fixed test assertion 2014-09-10 12:08:25 +02:00
Jan Steemann 2c37bd89b7 specified test result assertion 2014-09-10 11:59:35 +02:00
Max Neunhoeffer 7dcdd27891 Merge branch 'aql2' into mmh 2014-09-10 09:41:54 +02:00
Max Neunhoeffer c4442355f0 Adjust tests to new ranges format. 2014-09-10 09:39:21 +02:00
Jan Steemann c16ddedc83 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	arangod/V8Server/v8-vocbase.cpp
	js/apps/system/aardvark/frontend/js/bootstrap/errors.js
	js/common/bootstrap/errors.js
	js/server/modules/org/arangodb/ahuacatl.js
	js/server/modules/org/arangodb/aql-helper.js
	js/server/tests/shell-skiplist-index.js
2014-09-09 22:18:52 +02:00
Jan Steemann 428865f3b5 issue #1014: WITHIN function returns wrong distance
added attribute setters for ShapedJson so document attributes can be updated

Conflicts:
	arangod/V8Server/v8-vocbase.cpp
2014-09-09 19:58:27 +02:00
Willi Goesgens bdeb2d9d0f Remove unnecessary calculations test now has all tests to check for whether the rule applies. 2014-09-09 18:25:19 +02:00
Willi Goesgens 69e388dec3 SortNode optimizations: adjust tests to another rule needed to remove the SortNodes dependency. 2014-09-09 18:08:08 +02:00
Alan Plum 844621f070 Implemented Foxx.createQuery. 2014-09-09 17:02:21 +02:00
Jan Steemann 2a49bf843d updated tests 2014-09-09 15:20:42 +02:00
Jan Steemann 8127ff49bd more tests 2014-09-09 11:04:30 +02:00
Jan Steemann 8bf495f9b5 Merge branch 'aql2' of https://github.com/triAGENS/ArangoDB into aql2 2014-09-09 09:58:04 +02:00
Jan Steemann 639a026c66 fixed tests 2014-09-09 09:57:52 +02:00
Max Neunhoeffer b02856bff1 Better failure message of testSleep. 2014-09-09 09:53:06 +02:00
Jan Steemann a9a7b7d6d0 finished test for optimizer rule remove-unnecessary-filters 2014-09-09 08:55:56 +02:00
Jan Steemann a5100e3849 fixed parse error 2014-09-09 08:45:50 +02:00
Jan Steemann 28fd6b84c9 Merge branch 'aql2' of https://github.com/triAGENS/ArangoDB into aql2 2014-09-08 17:33:21 +02:00
Jan Steemann 4bda3e3979 finished test for remove-redundant-sorts 2014-09-08 17:33:11 +02:00
Willi Goesgens e30227195a Start implementation for remove unecessary filters. 2014-09-08 15:38:38 +02:00
Jan Steemann 557d37c688 Merge branch 'aql2' of https://github.com/triAGENS/ArangoDB into aql2 2014-09-08 11:43:54 +02:00
Jan Steemann 5c3b88b30c added test for optimizer rule 2014-09-08 11:43:39 +02:00
Willi Goesgens dd5ba978f1 Use better names for the optimiser control vars 2014-09-08 11:16:40 +02:00
Willi Goesgens 9473dc83cf Index Sort: add test which should remove duplicate sort. 2014-09-08 11:02:17 +02:00
Willi Goesgens 9524863c44 finalize test for the time being. 2014-09-05 15:02:16 +02:00
Alan Plum e2c4a62ff7 Cleaned up FoxxController#activateSessions. 2014-09-04 22:30:39 +02:00
Alan Plum 39ba358cd8 Added JWT support for session headers. 2014-09-04 18:51:06 +02:00
Alan Plum 7a43e3df14 Fixed failing session test. 2014-09-04 18:35:13 +02:00
Willi Goesgens ebbb9c34b6 Redundand-Sort: implement removing of left item superseeding the sort 2014-09-04 17:53:20 +02:00
Willi Goesgens 8cb1330cc2 Add optimizer tests for removing unneccessary calculations. 2014-09-04 16:57:53 +02:00
Willi Goesgens e23cbf1add Work on Filter to IndexRangeNode tests 2014-09-04 16:33:37 +02:00
Willi Goesgens fab66690eb Fix syntax. 2014-09-03 17:26:44 +02:00
Willi Goesgens 96186458b9 Use index for Sort: add more tests, more clever test data structures. 2014-09-03 17:15:49 +02:00
Willi Goesgens 8ec9525c05 SortIndex: move inspection of IndexRangeNode into functions. 2014-09-03 11:05:03 +02:00
Willi Goesgens 74784da12d Use function to search for whether there is a sortnode or not. 2014-09-03 10:40:37 +02:00
Alan Plum 606da1e3e8 Removed jslint headers from server/client/common modules. 2014-09-02 22:14:56 +02:00
Willi Goesgens 135afc043c Try checking whether rules didn't apply because of non-match 2014-09-02 17:30:07 +02:00
Willi Goesgens 8ffdd01d5f Cleanup of tests
- use assertEqual
  - use centralized definitions for the various optimizer parameter permutations
2014-09-02 17:11:03 +02:00
Willi Goesgens e29668c514 SortIndex: start implementing unittests for the different usecases. 2014-09-01 18:48:32 +02:00
Willi Goesgens dbb4ef6e41 add tests to revalidate IndexRangeNodes superseeding sorts
TODO: two cases aren't found by the 'use-index-range' as we would expect
2014-09-01 13:35:49 +02:00
Jan Steemann a02b962e3e added optimizer test 2014-09-01 12:14:15 +02:00
Max Neunhoeffer 8549e97e6c Adjust test to new non-sparse skiplists. 2014-08-30 00:33:15 +02:00
Jan Steemann 0eac5dcf47 fixed tests 2014-08-29 09:33:09 +02:00
Jan Steemann a32fac3747 Merge branch 'aql2' of https://github.com/triAGENS/ArangoDB into aql2 2014-08-29 09:20:36 +02:00
Jan Steemann 6cd4372299 fixed several tests 2014-08-28 22:33:50 +02:00
Jan Steemann b54e791f8f Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2 2014-08-28 22:23:25 +02:00
Jan Steemann d72354da66 issue #1003: added feature to use backslash escaping for CSV data in arangoimp 2014-08-28 21:03:58 +02:00
Jan Steemann 2a104b8bcb fixed several AQL tests 2014-08-28 16:19:05 +02:00
Jan Steemann 694d64da3c do not optimize away non-deterministic functions 2014-08-28 15:34:06 +02:00
Jan Steemann a014b44ba4 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	arangod/Utils/Transaction.h
2014-08-28 11:06:14 +02:00
Jan Steemann 81c095105b issue #1003 2014-08-28 10:32:32 +02:00
Jan Steemann a70a9613f6 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	lib/BasicsC/voc-errors.h
2014-08-22 21:51:38 +02:00
Alan Plum 0d653ca67a Implemented activateSessions. 2014-08-20 10:57:06 +02:00
Frank Celler 9fa3d22d6c towards new dispatcher interface 2014-08-18 23:37:32 +02:00
Jan Steemann 30b32f1f90 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	arangod/Ahuacatl/ahuacatl-grammar.h
	arangod/V8Server/v8-vocbase.cpp
	js/server/tests/ahuacatl-general-graph.js
2014-08-13 16:29:57 +02:00
Jan Steemann 52911293f7 added special compare function to take into account floating point differences 2014-08-12 19:14:13 +02:00
Jan Steemann 413ce6c50c test fixes 2014-08-12 18:53:49 +02:00
Willi Goesgens e823314a63 Adapt #8c280e255cce88af22377bee0e3ea8669c2b6d97 and #35303ab5eb5f3d588c2c6fe276dcc3772836d89f to give us a graph in defined sequence here too. 2014-08-12 17:10:29 +02:00
Michael Hackstein 1ee7cecdd7 Enforced sorting in ahuacatl generel graph test 2014-08-12 16:38:15 +02:00
Jan Steemann 80848b62a9 make test deterministic 2014-08-12 16:28:59 +02:00
Jan Steemann 3ae6d85711 removed tests for now-unsupported functionality 2014-08-12 16:22:32 +02:00
Jan Steemann d910e468f5 fixed issue with SLEEP() in test 2014-08-12 15:28:52 +02:00
Michael Hackstein 9d4642c4b5 Fixed ahuacatl-general-graph test. It does not depend on the sorting any more 2014-08-12 14:32:30 +02:00
Michael Hackstein dc998e3116 Fixed ahuacatl-general-graph test. It does not depend on the sorting any more 2014-08-12 14:31:18 +02:00
Jan Steemann 579fad3d6a added tests 2014-08-11 09:03:45 +02:00
James 5dc4f414f3 working on the tests. 2014-08-08 16:51:59 +02:00
Max Neunhoeffer 9d9d3962c0 Create unittest framework for new AQL. 2014-08-08 14:39:08 +02:00
scottashton fba85a7c6c GRAPH_VERTICES now returns orphans 2014-07-30 11:23:10 +02:00
Alan Plum facd7dc515 Fixed #961. Undocumented bodies should never throw. 2014-07-24 11:22:30 +02:00
Jan Steemann 328e3c209c fixed another test 2014-07-23 18:50:45 +02:00
Jan Steemann a91af39243 make test succeed after Max's optimization 2014-07-23 17:15:13 +02:00
Jan Steemann ddf69e99a9 fixed tasks with offset 0.0 2014-07-21 14:22:39 +02:00
Alan Plum f44d319f3e Added tests. 2014-07-09 13:09:16 +02:00
Alan Plum 7887f1b282 Added tests. 2014-07-09 12:40:05 +02:00
Alan Plum b2415d7871 Implemented Foxx model auto-validation with joi. 2014-07-09 12:00:34 +02:00
Alan Plum 889e8de4c9 Implemented Joi validation/toJSONSchema with legacy fallback. See #926. 2014-07-09 12:00:34 +02:00
Max Neunhoeffer 951be763d3 Disable a test in the cluster that needs transactions. 2014-07-09 10:17:34 +02:00
scottashton 90e4bf9bd3 distinct result on GRAPH_EDGES 2014-07-08 08:35:37 +02:00
Jan Steemann ca97aa4a07 added tests, fixed segfault 2014-07-05 22:58:36 +02:00
Alan Plum 61909ccd23 Added tests for Repository index magic. Fixes #899. 2014-07-04 17:09:50 +02:00
Jan Steemann 772f5fc876 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-07-04 13:52:45 +02:00
Jan Steemann 6f4ab77d9b fixed WAL collector moving markers 2014-07-04 13:52:31 +02:00
Alan Plum b5442e1ec8 Whitelist metadata in Model::set. 2014-07-04 11:15:56 +02:00
Jan Steemann 96b195a34d added test 2014-07-04 08:06:02 +02:00
Jan Steemann 04ed18be47 recovery 2014-07-03 22:50:22 +02:00
Jan Steemann 470839ffb9 fixed tests 2014-07-03 18:51:40 +02:00
Jan Steemann 6fc0c051d0 added test case 2014-07-03 17:12:25 +02:00
Jan Steemann d5e4f6762c foxx-directories test 2014-07-03 12:58:02 +02:00
Alan Plum 299cfd80fe Replaced ES5 methods with underscore because reasons. 2014-07-02 17:14:03 +02:00
Alan Plum e1aa528295 Added tests for bad model attribute setting. 2014-07-02 17:14:02 +02:00
Jan Steemann d4858f90d3 added test for renaming 2014-07-02 16:53:23 +02:00
Jan Steemann 28965618d1 handle renaming of collections 2014-07-02 10:28:43 +02:00
Jan Steemann 84ef51aaf4 handle properties marker 2014-07-02 09:54:28 +02:00
Jan Steemann ab70cfb9bb Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-07-02 09:31:17 +02:00
Jan Steemann 7fa01da9b4 handle empty logfiles on startup 2014-07-02 09:31:00 +02:00
Jan Steemann eae94f97a8 removed dead code 2014-07-02 00:21:58 +02:00
Jan Steemann 0a230b77e3 jshund 2014-07-02 00:17:25 +02:00
Jan Steemann 4cd20bfb7c fixed syncs across multiple files 2014-07-01 13:12:36 +02:00
Jan Steemann 41008dab3a Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-06-30 19:00:42 +02:00
Jan Steemann d55626c038 xxx 2014-06-30 19:00:36 +02:00
Max Neunhoeffer 4a37680d92 Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel 2014-06-30 16:49:08 +02:00
Max Neunhoeffer 412abdea0b Implement arangodump/restore test in unittests for cluster.
Not yet working completely.
2014-06-30 16:48:33 +02:00
Jan Steemann d6a93a5535 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-06-30 13:07:56 +02:00
Jan Steemann bda2db16da recovery and replication 2014-06-30 13:07:48 +02:00
Max Neunhoeffer 48762f3cc2 Add disabled tests.
Disable shell-readonly test on server.
2014-06-30 12:45:10 +02:00
Jan Steemann 56a9361f9f fill secondary indexes after recovery only 2014-06-29 00:18:21 +02:00
Jan Steemann 21ea9b4d4b recovery tests 2014-06-28 01:58:06 +02:00
Jan Steemann bb2818a210 added oversize marker tests 2014-06-26 17:16:36 +02:00
Jan Steemann cea36cf8b4 less randomness 2014-06-26 16:26:50 +02:00
Jan Steemann c8978771c0 exclude test in cluster mode 2014-06-26 16:02:08 +02:00
Jan Steemann 1bb171787f clean up when journal creation fails 2014-06-26 13:03:45 +02:00
Jan Steemann 9f37a21729 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-06-26 12:37:11 +02:00
scottashton de0da1e7b7 changed signature of the traversal functions 2014-06-26 11:55:35 +02:00
Jan Steemann 183469227c fixed rollback of updates 2014-06-26 11:38:41 +02:00
Frank Celler 291c92dbf3 renamed ReadOnly to NoCreate 2014-06-25 14:32:00 +02:00
Jan Steemann 1ac957a5ac fixed indentation, copy&paste, incomplete and too complicated tests 2014-06-24 17:20:14 +02:00
Jan Steemann cf14609727 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-06-24 16:12:07 +02:00
Jan Steemann f411fceb2e exposed WAL API 2014-06-24 16:10:27 +02:00
Esteban Lombeyda fab2e0b855 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-06-24 15:23:18 +02:00