1
0
Fork 0
Commit Graph

653 Commits

Author SHA1 Message Date
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
Esteban Lombeyda fff305170e renaming test in order to run in only in non cluster environments 2014-06-24 15:22:24 +02:00
Jan Steemann a289c9aa78 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-06-24 15:11:30 +02:00
Jan Steemann c4aad1e0cd added tests 2014-06-24 15:11:19 +02:00
scottashton 3dc7188141 heal the build 2014-06-24 14:26:46 +02:00
Jan Steemann c17d550097 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-06-24 11:26:55 +02:00
Esteban Lombeyda 357183ce3e Bug fix in setUp function 2014-06-24 10:58:51 +02:00
Jan Steemann 98f87b1f80 write-throttling 2014-06-24 10:55:05 +02:00
Jan Steemann 9695b25673 added tests 2014-06-24 09:19:26 +02:00
Jan Steemann d56719ae4d simplification of signatures 2014-06-24 00:32:40 +02:00
scottashton 62fd91ce3d changed return value of common properties so only the matching attributes are returned 2014-06-23 07:27:20 +02:00
Jan Steemann b5fe73270c use test-helper for unloading collections 2014-06-21 03:19:54 +02:00
Lucas Dohmen f6b7bb23a0 Remove the stub and mock module
This is now inside of shell-foxx until it has been converted to
Jasmine
2014-06-20 16:40:34 +02:00
Esteban Lombeyda 809d951a50 formating 2014-06-20 10:34:14 +02:00
Jan Steemann e132c8ea19 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh 2014-06-20 09:45:53 +02:00
Jan Steemann cc35e4696c added more tests 2014-06-20 09:20:27 +02:00
gschwab dbe0cbbf7f renamed _directedRelationDefinition(...) -> _directedRelation(..) 2014-06-20 09:01:35 +02:00
gschwab 639e657897 renamed _undirectedRelationDefinition(...) -> _undirectedRelation(..) 2014-06-20 08:56:59 +02:00
Jan Steemann c60bde28b6 added crash tests 2014-06-20 08:36:36 +02:00
Jan Steemann 86def51c51 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh 2014-06-20 08:22:04 +02:00
Lucas Dohmen e83d05d3b2 Foxx.Repository#count 2014-06-19 10:28:36 +02:00
Lucas Dohmen ca41f74a63 Foxx.Repository#updateById 2014-06-19 10:28:35 +02:00
Lucas Dohmen 473566a4e2 Foxx.Repository#updateByExample 2014-06-19 10:28:35 +02:00
Lucas Dohmen 94e2d0e9a4 Foxx.Repository#replaceByExample 2014-06-19 10:28:35 +02:00
Lucas Dohmen 3bfff286d0 Foxx.Repository#remove 2014-06-19 10:28:35 +02:00
Lucas Dohmen 4b769867be Foxx.Repository#all 2014-06-19 10:28:35 +02:00
Jan Steemann bded33eec8 fixed typos 2014-06-18 21:48:29 +02:00
Jan Steemann 44ad4eea48 added tests for AQL write operations 2014-06-18 20:43:08 +02:00
Jan Steemann 1d68586500 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
Conflicts:
	js/apps/system/aardvark/frontend/js/modules/org/arangodb/general-graph.js
2014-06-18 16:37:28 +02:00
Jan Steemann 8b9cdbe075 fixed tests 2014-06-18 16:34:11 +02:00
Alan Plum 40f3e268dd Adjusted injector naming. 2014-06-18 11:09:40 +02:00
Alan Plum 282be72c5c Implemented controller dependency injection. 2014-06-18 01:17:10 +02:00
Lucas Dohmen df658a0648 A spec for the existing Foxx Repository functionality 2014-06-17 17:34:55 +02:00
Jan Steemann 091491d13b crash recovery tests 2014-06-17 15:30:11 +02:00
Lucas Dohmen 3c3f4b0b8f Foxx: Reorder and update the tests of Repository 2014-06-17 15:19:19 +02:00
Jan Steemann 30460bb72c Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh 2014-06-17 00:49:37 +02:00
Jan Steemann b303db2b50 Merge branch 'mjmh' of https://github.com/triAGENS/ArangoDB into mjmh
Conflicts:
	js/apps/system/aardvark/frontend/js/bootstrap/errors.js
	js/common/bootstrap/errors.js
2014-06-17 00:49:18 +02:00
Jan Steemann a1177816aa modifiable AQL, final syntax 2014-06-17 00:37:08 +02:00
Jan Steemann 7f1c67b964 recovery tests 2014-06-16 17:22:20 +02:00
Jan Steemann 02d1cf3ea4 Merge branch 'mjmh' of https://github.com/triAGENS/ArangoDB into mjmh 2014-06-16 17:09:58 +02:00
Jan Steemann ff494cc897 added recovery tests (not functional yet) 2014-06-16 16:52:26 +02:00
Esteban Lombeyda 19d851c3cb Merge branch 'mjmh' of github.com:triAGENS/ArangoDB into mjmh 2014-06-16 15:24:54 +02:00
Esteban Lombeyda 2405a5ffa2 read-only: unit tests for client and server side 2014-06-16 15:24:12 +02:00
scottashton 99be3816b3 optimized dijsktra search 2014-06-16 14:44:34 +02:00
Jan Steemann 2a0e0b18d0 added many tests 2014-06-16 14:39:26 +02:00
Esteban Lombeyda 51d86d8351 Merge branch 'mjmh' of github.com:triAGENS/ArangoDB into mjmh 2014-06-16 11:44:46 +02:00
Esteban Lombeyda 9af2994eb9 read-only: unit-tests 2014-06-16 10:47:48 +02:00
Jan Steemann ae6ac271e3 index rework 2014-06-14 23:40:56 +02:00