1
0
Fork 0
Commit Graph

1026 Commits

Author SHA1 Message Date
Michael Hackstein 618c855c85 Cluster Methods now use the OperationOptions of transactions. And now reacts to these options accordingly incl returnNew/returnOld 2016-03-31 10:52:24 +02:00
Michael Hackstein 7c49288acb Disabled Document babies test in Cluster Mode. Should only be used cluster Internally 2016-03-30 17:40:03 +02:00
Michael Hackstein 237aea6b5b Removed tests for removed functions FIRST and LAST 2016-03-30 17:17:11 +02:00
Michael Hackstein 794f692865 Fixed crud test. exists with an old revision now throws Conflict. Former returned false. 2016-03-30 16:18:08 +02:00
Michael Hackstein ef834037df Fixed shell edges Test. The new version of edgeCollection.edge returns a unique array 2016-03-24 17:22:40 +01:00
Michael Hackstein 86513511df Fixed expected error code. was SHAPER_FAILED is now BAD_PARAMETER 2016-03-24 17:10:32 +01:00
Jan Steemann 688109bcc5 jslint 2016-03-24 15:55:13 +01:00
Jan Steemann eae423349f fixed test (well, cheating a bit) 2016-03-24 13:17:53 +01:00
Jan Steemann 007e0c6e5c fixed test 2016-03-24 13:14:59 +01:00
Jan Steemann ecbd17b992 fixed test 2016-03-23 19:13:03 +01:00
Jan Steemann 7975913fc5 fixed tests 2016-03-23 18:50:46 +01:00
Jan Steemann c8c9288400 harmonize value comparisons for hash indexes 2016-03-23 16:36:00 +01:00
Jan Steemann 1a2fdb64ee removed unused test 2016-03-22 18:52:49 +01:00
Jan Steemann 2ab44cef03 fixed tests 2016-03-22 16:17:05 +01:00
Jan Steemann 7f95833505 fixed tests 2016-03-22 16:14:52 +01:00
Jan Steemann 04b436f0b5 fixed test 2016-03-22 15:18:34 +01:00
Jan Steemann d226175e91 test fixes 2016-03-22 15:15:43 +01:00
Jan Steemann 80413739d1 fixed test 2016-03-22 14:34:18 +01:00
Max Neunhoeffer af6f7bd0fa Fix jslint. 2016-03-18 11:12:34 +01:00
Max Neunhoeffer e9ad1ad954 Fix jslint. 2016-03-18 11:10:04 +01:00
Max Neunhoeffer bf77bd31e2 Fix jslint. 2016-03-18 11:08:52 +01:00
Max Neunhoeffer 20fb42afd5 Cleanup of tests. 2016-03-18 02:04:38 +01:00
Max Neunhoeffer f44b8a6fa9 Add tests for babies DELETE HTTP /_api/document/<collection>. 2016-03-17 21:13:50 +01:00
Max Neunhoeffer 827f2f4f44 Improve /_api/simple/remove-by-key.
Fix more document methods.
2016-03-17 18:49:52 +01:00
Max Neunhoeffer 105fe3e406 Fix tests for documents. 2016-03-17 15:53:02 +01:00
Frank Celler 89cf60d217 added missing test 2016-03-16 23:36:48 +01:00
Frank Celler b39e20c6fc fixed endpoint 2016-03-16 23:29:56 +01:00
Frank Celler a92d280f81 added babies http test 2016-03-16 22:18:00 +01:00
Frank Celler f28f20883a cosmetics 2016-03-16 22:16:56 +01:00
Max Neunhoeffer 8b8019b28a Fix behaviour of remove. 2016-03-16 19:55:49 +01:00
Max Neunhoeffer c9b48ea24b Add babies tests for returnNew and returnOld. 2016-03-14 15:01:48 +01:00
Max Neunhoeffer 0bd5524a7f Fix new tests. 2016-03-14 14:06:56 +01:00
Max Neunhoeffer 5dd4426bf7 Add tests for returnNew and returnOld. 2016-03-14 14:05:21 +01:00
Max Neunhoeffer 8f6cd501aa Change behaviour of remove(), return data, allow returnOld. 2016-03-11 16:35:55 +01:00
Max Neunhoeffer a25df3aece Fix jslint problems. 2016-03-10 16:44:44 +01:00
Max Neunhoeffer 6e4a4d1f7b Add babies tests for document API. 2016-03-10 16:28:10 +01:00
Max Neunhoeffer df487862a8 Fix some more edge tests. 2016-03-10 13:08:02 +01:00
Max Neunhoeffer 6ca5132b89 Fix test for edge save. 2016-03-09 09:16:33 +01:00
Max Neunhoeffer 7c4d4ab36c Adjust test to (new) behaviour. 2016-03-08 18:46:15 +01:00
Max Neunhoeffer 4452578f5f Fix a test. 2016-03-08 17:46:08 +01:00
Michael Hackstein 32d0e48d61 Merge branch 'devel' of github.com:arangodb/arangodb into vpack 2016-02-16 13:56:08 +01:00
Alan Plum fb23c44e3d Fix client test 2016-02-16 01:45:57 +01:00
Frank Celler 8f1e79e5dc Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-02-15 23:23:44 +01:00
Frank Celler 9a2ced5056 raised waitForSync 2016-02-15 23:22:50 +01:00
Alan Plum 6593f3d358 Clean up stacktraces
Fixes #1564, #1565, #1744.
2016-02-15 22:56:29 +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 546ffce3ed added replication test 2016-02-06 23:30:22 +01:00
Jan Steemann 6aa28abce3 adjusted test 2016-02-05 20:46:57 +01:00
Michael Hackstein edf7f6b9d9 Further implementation of AQL functions for VPack. UNIQUE UNIQUE_SORTED UNION UNION_DISTINCT 2016-02-04 15:23:26 +01:00
Frank Celler c2a3f90fde moved tests into sub-directories 2016-01-24 12:21:04 +01:00
jsteemann e0f5401bed fixed test in failure mode 2016-01-21 00:20:32 +01:00
Jan Steemann 798a1e05cc Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-01-12 19:41:49 +01:00
Jan Steemann a119837c3e fixed journalSize handling for collections 2016-01-12 19:41:39 +01:00
Alan Plum e90c89812f shell-foxx-manager-install-spec to mocha 2016-01-12 18:49:49 +01:00
Alan Plum 0d16d03853 shell-query-timecritical-spec to mocha 2016-01-12 18:49:48 +01:00
Alan Plum c4c8418b6d Add support for mocha in built-in test runner 2016-01-11 20:00:56 +01:00
jsteemann 67147482ce bumped built-in version number from 2.7.0-devel to 2.8 2016-01-08 01:56:23 +01:00
Jan Steemann 8390793699 moved docu blocks into their own files 2016-01-07 16:39:19 +01:00
Jan Steemann a15c18572f fixed test, added more tests 2016-01-04 19:33:18 +01:00
jsteemann c20cf66e93 add cacheability info for explain 2016-01-03 00:52:36 +01:00
Alan Plum bdee7f3309 Fix cluster test
The implementation of `_.clone` in underscore naively clones all properties including inherited ones.
As lodash does The Right Thing and ignores the prototype, we need to flatten the object first.
2015-12-29 13:44:00 +01:00
Alan Plum de9ae5128a underscore -> lodash 2015-12-23 23:30:55 +01:00
Jan Steemann 3cfd8214a9 handle id and isSystem when creating collections 2015-12-18 20:16:39 +01:00
Jan Steemann 928837e1ff \0 fix 2015-12-17 13:07:05 +01:00
Jan Steemann b76c61adb1 \0 fix 2015-12-17 12:28:16 +01:00
jsteemann ead2ee47e7 issue #1409: fix NUL-byte handling 2015-12-17 10:54:24 +01:00
Alan Plum 34843b76fb Remove CoffeeScript support 2015-12-16 02:03:44 +01:00
jsteemann 7a6022466b fixed test 2015-12-15 22:08:46 +01:00
Max Neunhoeffer dc033e31d9 Merge branch 'devel' into ClustUp1 2015-12-15 21:08:36 +01:00
jsteemann 4a88a17a44 lol self 2015-12-15 21:07:22 +01:00
Max Neunhoeffer d43e118244 Merge branch 'devel' into ClustUp1 2015-12-15 20:44:06 +01:00
jsteemann 6bc3e8c5df fixed rename tests in cluster 2015-12-15 20:42:57 +01:00
Max Neunhoeffer 4451e491ec Merge branch 'devel' into ClustUp1 2015-12-15 17:46:34 +01:00
Alan Plum 8853ede355 org/arangodb -> @arangodb 2015-12-15 15:51:44 +01:00
Jan Steemann b123ffbe26 issue #1610 2015-12-15 15:41:50 +01:00
jsteemann a098289532 fixed test 2015-12-15 13:57:22 +01:00
Max Neunhoeffer 8a69ca5367 Merge branch 'devel' into ClustUp1 2015-12-15 09:23:51 +01:00
Jan Steemann 8e7ac689a2 issue #1606: fail gracefully on invalid index definitions 2015-12-14 16:58:05 +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 ea72850aeb Fix bug in client tests. 2015-12-09 23:13:26 +01:00
jsteemann 04e81ea851 more replication 2015-11-30 23:33:59 +01:00
Jan Steemann f013c809ea replication improvements 2015-11-30 18:27:31 +01:00
Jan Steemann bd8b70455a replication improvements 2015-11-27 16:16:15 +01:00
Jan Steemann e2136ea21a do not allow index creation with multiple [*] in single attribute 2015-10-23 11:45:17 +02:00
Wilfried Goesgens cba3ed80ae fix jslint: remove unused variable 2015-09-25 13:50:29 +02:00
Wilfried Goesgens b280c59aa7 Split tests that don't work in clusters. 2015-09-25 11:50:33 +02:00
Alan Plum 1a5f5fe65d Merge pull request #1508 from arangodb/require-sanity
Node-compatible require implementation
2015-09-24 15:50:40 +02:00
Jan Steemann 4249095456 issue #1507: added optional *allowImplicit* sub-attribute for transactions 2015-09-24 15:50:00 +02:00
Alan Plum ac3e4b0c49 Linting 2015-09-24 14:20:15 +02:00
Alan Plum 95d99ebd16 Make shell-foxx-manager-install-spec pass 2015-09-24 13:46:15 +02:00
Alan Plum 400532043f Fixed shell-foxx-manager-install-spec module use 2015-09-24 13:46:15 +02:00
Alan Plum 98d2560b4c Fixed shell-require test 2015-09-24 13:46:14 +02:00
Alan Plum 038267cb06 Re-implemented require/module based on Node 4.1.0
The require function should now behave as expected and treat ArangoDB's module paths as sources for "external" modules.
The "assert", "buffer" and "path" modules have been moved out of ./js/node into the bootstrap modules.
The module "org/arangodb/foxx/arangoApp" (as well as any modules depending on it) is incompatible with the new module loading behaviour and will be have to be rewritten from scratch.
The "Package" class has been removed entirely and is no longer needed.
Support for the database-stored modules is currently missing and needs to be re-implemented within the module loader.
2015-09-24 13:46:13 +02:00
jsteemann 22e17814e3 additionally allow the following characters in document keys:
`(` `)` `+` `,` `=` `;` `$` `!` `*` `'` `%`
2015-09-15 00:16:08 +02:00
Jan Steemann f09b11504e fix spelling 2015-09-07 21:12:51 +02:00
Jan Steemann e602ca5662 issue #1471: document() vs documents() parameters (_key and _id) 2015-09-04 18:13:23 +02:00
CoDEmanX 3a9648d78a More Americanization 2015-09-03 22:25:43 +02:00
Jan Steemann 1867d6c4de added template string generator function `aqlQuery` for generating AQL queries
This can be used to generate safe AQL queries with JavaScript parameter
variables or expressions easily:

    var name = 'test';
    var attributeName = '_key';
    var query = aqlQuery`FOR u IN users FILTER u.name == ${name} RETURN u.${attributeName}`;
    db._query(query);
2015-08-30 22:32:26 +02:00
Michael Hackstein d87748f64e Another graph test depending on unguranteed ordering 2015-08-28 10:45:30 +02:00
Michael Hackstein e909c79794 Fixed a graph unit test. It assumed a specific ordering which is not guaranteed 2015-08-28 10:14:07 +02:00
Jan Steemann b08713d768 added tests and documentation 2015-08-24 11:05:26 +02:00
Jan Steemann 387e3e9cd4 make removeByExample, replaceByExample and updateByExample use AQL internally 2015-08-22 23:22:24 +02:00
Alan Plum 02a72800f3 Removed obsolete test. 2015-08-17 03:24:30 +02:00
Jan Steemann 1cf67a9df2 fix linting 2015-08-14 13:34:39 +02:00
Jan Steemann 18ba2d5659 fail if a task with non-parsable code is registered 2015-08-14 11:56:54 +02:00
Michael Hackstein ca7ca679ee Merge branch 'devel' of github.com:arangodb/arangodb into devel 2015-08-13 11:22:12 +02:00
Michael Hackstein 90d089f49f Fixed an issue with neighborExamples in GRAPH_EDGES 2015-08-13 11:22:06 +02:00
Jan Steemann a1d0c4e431 fixed g++5.1 compile error, added tests 2015-08-13 11:14:50 +02:00
Jan Steemann 589e67357f issue #1434: return more meaningful error message from org/arangodb/general-graph::_fromVertex() 2015-08-12 21:36:27 +02:00
Frank Celler 9de6bd39db moved to strings, fixed #1432: arangosh doesn't ignore prefixed ....> on paste 2015-08-12 17:54:14 +02:00
Alan Plum 289cdfcd43 Wrong error. 2015-07-14 20:11:03 +02:00
Jan Steemann 2d9bd616c8 added tests 2015-07-14 10:58:16 +02:00
Jan Steemann 14ccfbabc3 Merge branch 'aql-query-cache' of https://github.com/arangodb/arangodb into devel 2015-07-13 12:46:41 +02:00
Jan Steemann 5a453bbcfc issue #1409: Document values with null character truncated with 2.6.2 on Windows 2015-07-13 12:45:13 +02:00
Jan Steemann c71dc4d9bb Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-query-cache 2015-07-13 10:49:14 +02:00
Michael Hackstein 5348fb78a6 Fixed and reactivated some general-graph tests. Were deactivated by accident. 2015-07-09 16:33:03 +02:00
Jan Steemann 1f5e047486 query cache, now with result limitations, HTTP and JavaScript APIs 2015-06-27 01:12:32 +02:00
Jan Steemann 85c7705684 added test
Conflicts:
	CHANGELOG
2015-06-25 09:47:03 +02:00
Jan Steemann f06bedfecf adjusted tests 2015-06-18 16:03:28 +02:00
Jan Steemann 55d4002ad3 speed up tests 2015-06-11 22:27:38 +02:00
Jan Steemann ff7a00d6e4 fixed edge index selectivity estimates and added tests 2015-06-11 21:22:01 +02:00
Alan Plum e16ddf0b93 Don't allow signing with key and alg:none either. Added test. 2015-05-29 11:08:20 +02:00
Michael Hackstein 6a7dae216d Merge branch 'devel' of github.com:/arangodb/arangodb into devel 2015-05-28 15:18:32 -07:00
Jan Steemann f724cb3185 added test 2015-05-28 12:23:30 +02:00
Michael Hackstein 9a5ee272fe Fixed several graph tests to use the new return format. Neighbors and ShortestPath are having different return formats now. Still WIP 2015-05-26 16:15:12 -07:00
Jan Steemann 40067e6c96 added documents() 2015-05-08 17:11:44 +02:00
Jan Steemann 4ea2a53771 support arrays in fulltext index, too 2015-05-06 15:11:24 +02:00
Jan Steemann 0996d603c6 fulltext improvements 2015-05-06 14:21:32 +02:00
Willi Goesgens ed667d7917 Lintify 2015-05-05 19:07:47 +02:00
Jan Steemann c677ea8b88 added tests for collection.lookupByKeys() and collection.removeByKeys() 2015-05-05 17:57:33 +02:00
Jan Steemann b0924956f8 allow `@` character in document keys, too. 2015-04-30 21:28:26 +02:00
Jan Steemann 96fdbe91dc issue #1318: Inconsistent db._create() syntax 2015-04-27 10:51:22 +02:00
Jan Steemann 6dd12e423e fixed jslint warnings 2015-04-24 10:32:11 +02:00
Jan Steemann 260554cb35 added encoding tests 2015-04-24 00:10:05 +02:00
Jan Steemann 90610ccb3c fixed typos in tests 2015-04-21 14:45:36 +02:00
Jan Steemann f0fdf3aacc fixed tests 2015-04-20 18:15:33 +02:00
Alan Plum 69e63c2c64 Strict mode all the things. 2015-04-09 00:22:05 +02:00
Alan Plum 30adf407f0 Cleaned up FoxxManager install tests. 2015-04-08 14:23:02 +02:00
Alan Plum 4f51343100 Fixed Foxx installer errors. 2015-04-08 14:19:38 +02:00
Michael Hackstein e2fd4cdd65 Further improvements of graph queries. All queries should now be noticably faster. 2015-04-01 13:25:25 +02:00
Michael Hackstein a4e4abe3cd Improved several graph AQL functions by moving the logic into the visitor, reducing the amount of necessary loops thereby 2015-03-30 11:11:05 +02:00
Alan Plum d1a37cdc17 Fixed failing tests. 2015-03-24 13:33:42 +01:00
Willi Goesgens d8d0196b85 Add tests for the environment handling. 2015-03-23 11:18:20 +01:00
Jan Steemann d512b5fa35 issue #1282: Geo WITHIN_RECTANGLE for nested lat/lng 2015-03-20 19:27:30 +01:00
Jan Steemann 29ea9f40ec added tests for attribute names and values containing specifically dollar signs 2015-03-20 12:28:38 +01:00
Jan Steemann 35fdc9a9c0 attempt to fix test 2015-03-17 08:30:07 +01:00
Michael Hackstein 3c7aaf204c Made the foxx manager install spec more robust and added a test app containing 'app' as sub folder 2015-03-16 11:13:25 +01:00
Jan Steemann f59dca83d4 fixed warning 2015-03-16 10:40:55 +01:00
Michael Hackstein 4543668a07 Fixed installing of Apps containing an internal app folder 2015-03-16 10:27:32 +01:00