Michael Hackstein
20733a81ae
Improved baby errors in cluster
2016-04-15 14:48:44 +02:00
Michael Hackstein
3434be7b7a
Implemented documents baby variant for cluster and also improved the baby tests. ALl errors will now have exactly one representation for each baby document even if they could be identified earlier.
2016-04-14 17:40:28 +02:00
Michael Hackstein
1311f73775
Further fixes in cluster communication for baby case
2016-04-12 13:04:51 +02:00
Michael Hackstein
7991815376
Fixed property undefiend bug in test
2016-04-12 10:39:30 +02:00
Michael Hackstein
eeb11919f9
Fixed expectation in cluster-crud test. We cannot guarantee that CHANGE_SHARDING_ATTRIBUTES is thrown, might be NOT_FOUND in some cases
2016-04-12 10:35:09 +02:00
Michael Hackstein
0bc206ff80
Further modification of document babies test
2016-04-12 08:51:16 +02:00
Michael Hackstein
474f70c9ad
Merge branch 'devel' of github.com:arangodb/arangodb into spdvpk
2016-04-11 16:33:08 +02:00
Michael Hackstein
5bc4bb51e6
Reactivated babies test in cluster
2016-04-11 16:32:25 +02:00
Michael Hackstein
0ec045d811
Removed debug output
2016-04-11 16:31:41 +02:00
Michael Hackstein
19139a7bf5
Modified document-babies tests. They are now green but correctness has to be discussed.
2016-04-11 16:29:04 +02:00
Wilfried Goesgens
81df4e6e85
migrate 1b41f5c0bb
to devel.
2016-04-11 14:21:46 +02:00
Michael Hackstein
7313df2e5f
Fixed babies-tests to fit the newest definition
2016-04-11 14:21:34 +02:00
Jan Steemann
947fb8d9ad
make LIKE wildcards newline-aware
2016-04-11 14:02:12 +02:00
Michael Hackstein
df497eb8b2
Merge branch 'devel' of github.com:arangodb/arangodb into spdvpk
2016-04-10 14:09:25 +02:00
Michael Hackstein
68577f1a45
Fixed expectation of document-babies test. Not yet green
2016-04-10 14:09:18 +02:00
jsteemann
e84a0ff0ad
jslint argl
2016-04-09 01:02:59 +02:00
jsteemann
f94f298862
deactivate babies tests temporarily
2016-04-08 23:50:02 +02:00
Jan Steemann
ce11474602
jslint
2016-04-07 16:40:21 +02:00
Jan Steemann
74794d16db
Merge branch 'spdvpk' of https://github.com/arangodb/arangodb into spdvpk
2016-04-07 14:43:35 +02:00
Jan Steemann
83f18fa419
Merge branch 'spdvpk' of https://github.com/arangodb/arangodb into spdvpk
2016-04-07 13:01:23 +02:00
Jan Steemann
513dc26fc1
make replication tests more deterministic
2016-04-07 13:00:30 +02:00
Michael Hackstein
015c5d2908
Fixed single-server babies test. Also made sure that the error header is capialized properly
2016-04-07 12:41:23 +02:00
Michael Hackstein
3e1b295d68
Merge branch 'spdvpk' of github.com:arangodb/arangodb into spdvpk
2016-04-07 10:30:41 +02:00
Michael Hackstein
6847d3f4a7
Preperation to create documents on coordinator with baby awareness.
2016-04-07 10:27:01 +02:00
Jan Steemann
2a12f3d936
make tests a bit more robust?
2016-04-06 17:57:57 +02:00
Jan Steemann
aae8ffa5e3
Merge branch 'spdvpk' of https://github.com/arangodb/arangodb into spdvpk
2016-04-06 15:46:47 +02:00
Jan Steemann
9f8c24b1cd
Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk
2016-04-06 15:43:27 +02:00
Michael Hackstein
ff195124d2
Merge branch 'spdvpk' of github.com:arangodb/arangodb into spdvpk
2016-04-06 09:51:30 +02:00
Michael Hackstein
074e949037
Fixed JSHINT
2016-04-06 09:51:19 +02:00
Jan Steemann
f45b6eeb49
jslint
2016-04-06 09:50:39 +02:00
Michael Hackstein
98b4c43315
Merge branch 'spdvpk' of github.com:arangodb/arangodb into spdvpk
2016-04-06 09:30:11 +02:00
Andreas Streichardt
3bdbded541
Fix linter errors
2016-04-05 18:45:39 +02:00
Jan Steemann
782b38e5fa
Merge branch 'spdvpk' of https://github.com/arangodb/arangodb into spdvpk
2016-04-05 18:32:24 +02:00
Jan Steemann
d0f368445a
replication fixes
2016-04-05 18:32:09 +02:00
Andreas Streichardt
d2d7af67fe
Kickstarter and planner are dead
2016-04-05 17:45:39 +02:00
Michael Hackstein
1d43063189
Added check for error-code headers in new babies definition
2016-04-05 15:51:16 +02:00
Michael Hackstein
964535c315
Adapted document-babies-spec to newest version of babies API for insertion of documents. Test is now red
2016-04-05 14:54:58 +02:00
Jan Steemann
ebeb119f4d
some test fixes
2016-04-04 18:20:18 +02:00
Michael Hackstein
17e7a32fa6
Made the geo index ensure test independent of Index ordering
2016-04-01 13:59:36 +02:00
Michael Hackstein
a14120d239
Removed Test for new features. It cannot work in Cluster Case. Needs to be fixed later on.
2016-04-01 12:27:37 +02:00
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