1
0
Fork 0
Commit Graph

646 Commits

Author SHA1 Message Date
Jan Steemann c9dabaca86 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into sharding 2014-01-16 15:02:44 +01:00
Frank Celler e1b622bb87 commented out tests 2014-01-15 22:58:03 +01:00
Jan Steemann b1c4f75e50 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into sharding 2014-01-14 13:29:07 +01:00
Jan Steemann 30b866405e issue #732: Rest API GET revision number 2014-01-13 17:30:17 +01:00
Jan Steemann d52aaf8340 issue #732: Rest API GET revision number 2014-01-13 17:23:39 +01:00
Michael Hackstein 9f3479f5b6 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into sharding
Conflicts:
	utils/Makefile.files
2014-01-10 17:41:52 +01:00
Jan Steemann 5c0e6e12e0 added tests for serverstate and clusterinfo 2014-01-06 18:19:14 +01:00
Jan Steemann 4de2b916c4 added test for uniqid 2014-01-06 13:18:01 +01:00
Jan Steemann a7d9b3f578 added test for cluster helper functions 2014-01-03 16:04:40 +01:00
Jan Steemann dde10cf9aa fixed foxx-manager tests 2014-01-03 14:37:34 +01:00
Jan Steemann e3b28e89ae fixed foxx-manager tests 2014-01-03 14:37:11 +01:00
Frank Celler 84507cfc44 merged changes from 1.4 back to devel 2013-12-27 14:59:23 +01:00
Frank Celler c94685595f fixed option 2013-12-24 09:23:55 +01:00
Frank Celler 41c28ac4ff fixed unittests for foxx-manager and arango-dfdb 2013-12-24 02:16:00 +01:00
Jan Steemann 32b26f5392 added agency test 2013-12-11 18:51:50 +01:00
Jan Steemann 44b3237882 moved server-only tests to js/server/tests
this hopefully removes some future confusion about the tests
also moved some graph stuff into js/common as client-side graphs did not fully work

make logfile path accessible
2013-12-04 22:05:00 +01:00
Jan Steemann 3edd6a0251 issue #694: added tests for configuration files 2013-12-02 09:39:27 +01:00
Frank Celler abe0722e77 do not verify ssl 2013-11-23 23:06:47 +01:00
Frank Celler 3de7ee06dd do not verify ssl 2013-11-23 23:06:27 +01:00
Frank Celler 80604b8d65 fixed typo 2013-11-23 22:28:29 +01:00
Max Neunhoeffer 3aa1b12a45 Merge branch 'skiplist-cleanup' into devel
This implements a considerable cleanup of the skip list index code:
  - Replace implementation of skip lists by a generic one using
    callbacks for comparisons
  - The new implementation resides in lib/BasicsC/skip-list.*
  - It uses a singly linked list (unidirectional) as opposed to the
    previous implementation which used a doubly linked list
  - Adjust skip list index code in arangod/SkipLists/skiplistIndex.* to
    use the generic skip list implementation
  - Unify unique skip lists and non-unique ones into one code base
  - Cleanup in skip list index code, in particular with respect to
    iterators
  - Prepare the scene for sparse skip list indices
2013-11-22 10:47:04 +01:00
Max Neunhoeffer b23f299aaa Add unittest for correctness of skiplist index. 2013-11-22 10:40:13 +01:00
Jan Steemann 54b5a74530 added shapes test 2013-11-22 02:42:11 +01:00
Jan Steemann 920d08d855 removed redundant startup options 2013-11-20 01:50:27 +01:00
Frank Celler 1c57332665 cleanup 2013-11-16 17:12:17 +01:00
Jan Steemann c5e9538547 Merge remote-tracking branch 'origin/devel' into inline-shapes
Conflicts:
	arangod/VocBase/document-collection.c
2013-11-14 01:01:24 +01:00
Max Neunhoeffer ea7abdc027 Add a test suite.
This is to test the performance of deletion with a skip-list index
and many documents with the same value in the attribute indexed
by the skip-list.
2013-11-08 09:26:06 +01:00
Jan Steemann 9d5e5ff7cc merged fix for issue #653 2013-11-07 16:26:45 +01:00
Max Neunhoeffer ba736d1b7a Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-11-07 16:03:04 +01:00
Max Neunhoeffer 7d19f11a70 Add a test suite.
This is to test the performance of deletion with a skip-list index
and many documents with the same value in the attribute indexed
by the skip-list.
2013-11-07 16:00:26 +01:00
Jan Steemann ae872007ac updated database creation API 2013-11-07 14:06:44 +01:00
Jan Steemann 819e9a1cb6 fixed user creation on database creation 2013-11-07 13:32:42 +01:00
Jan Steemann ff20a1d5ff fixed test 2013-11-06 17:24:47 +01:00
Jan Steemann 1d8d26b7ab added test 2013-11-06 09:34:51 +01:00
Jan Steemann d30ca7b658 added `/_api/database/user` method 2013-11-06 09:34:44 +01:00
Jan Steemann a977c5662a removed --database.force-sync-shapes option 2013-11-05 18:20:55 +01:00
Jan Steemann 37b49c2769 added test 2013-11-04 14:23:30 +01:00
Jan Steemann 7924f657d4 added `/_api/database/user` method 2013-11-04 14:22:00 +01:00
Jan Steemann 935d1edd53 issue #653: slow query 2013-11-04 13:33:26 +01:00
Jan Steemann d11041cef9 execute single test 2013-10-31 13:33:31 +01:00
Jan Steemann 0b64f18e77 issue #650: Randonmess of any() should be improved 2013-10-31 10:37:45 +01:00
Jan Steemann 46d4e14f7b issue #650: Randonmess of any() should be improved 2013-10-31 10:09:01 +01:00
Jan Steemann 4f50b98c45 removed second logger implementation 2013-10-30 00:38:25 +01:00
Frank Celler 1a7bbb7058 new version 1.5 2013-10-29 15:24:38 +01:00
Frank Celler ad817fb90e fixed sed on Mac 2013-10-29 12:22:08 +01:00
Jan Steemann 43b4f78b62 issue #620 2013-10-28 19:38:19 +01:00
Frank Celler d620386a7b added tests 2013-10-20 18:46:40 +02:00
Jan Steemann 7dc8ed7c47 issue #617: Swagger API is missing '/_api/version' 2013-10-17 11:55:39 +02:00
Jan Steemann d71ee7ff6f fixed issue #615 2013-10-17 11:12:02 +02:00
Jan Steemann 671b1e850b added tests for dump/restore 2013-10-15 16:47:37 +02:00
Jan Steemann 79f70c7eea replication applier will now preferrably use collection names instead of collection ids when applying events 2013-10-14 13:45:44 +02:00
Jan Steemann fa93fd5755 fixed test 2013-10-10 18:22:52 +02:00
Jan Steemann d6149c9a9a added documentation for /_api/import 2013-10-02 14:22:25 +02:00
Jan Steemann 57e028de9d updated docs 2013-09-28 01:20:40 +02:00
Jan Steemann 1eeaa8145b removed test output 2013-09-25 18:19:29 +02:00
Jan Steemann d7b9add4db removed current-database API 2013-09-24 17:34:35 +02:00
Jan Steemann 7a1f3ae756 updated documentation, added tests 2013-09-24 17:27:52 +02:00
Jan Steemann 67f3c3c469 changed HTTP return code for not-found cursors 2013-09-23 15:29:03 +02:00
Jan Steemann c32654c5d4 added tests for async 2013-09-20 17:48:33 +02:00
Jan Steemann 8a9ce4e86d fixed memory allocation inefficiency 2013-09-20 17:26:26 +02:00
Jan Steemann 4aee2df2f3 force usage of --upgrade 2013-09-17 15:56:24 +02:00
Jan Steemann 3e1436b6d1 moved test 2013-09-13 19:58:45 +02:00
Jan Steemann 894180dc20 added test cases 2013-09-13 18:25:28 +02:00
Jan Steemann 64741f8a8d added test cases for endpoints 2013-09-13 14:07:30 +02:00
Jan Steemann fc971a73bf _graphs renaming rollback 2013-09-12 18:26:35 +02:00
Jan Steemann 6ff314de0e runtime addition and removal of endpoints 2013-09-12 18:07:39 +02:00
Jan Steemann ac4ed728c0 renamed collection `_graphs` to `arangodb_graphs` 2013-09-09 11:07:10 +02:00
Jan Steemann b9fbbc85ea Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-09-05 12:43:17 +02:00
Jan Steemann 369433f1e2 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
Conflicts:
	arangosh/Benchmark/BenchmarkThread.h
	lib/SimpleHttpClient/SimpleHttpClient.cpp
2013-09-05 12:34:45 +02:00
Frank Celler b73a4c2ac3 added missing --relative option 2013-09-05 11:46:57 +02:00
Jan Steemann ca2f5feb4b fixed redirect URLs 2013-09-04 17:30:37 +02:00
Lucas Dohmen 69286b5742 Foxx: Foxx Transformer is now Foxx Preprocessor 2013-09-04 15:08:15 +02:00
Jan Steemann daccdea5c9 fixed tests 2013-08-29 13:28:54 +02:00
Jan Steemann 669957e81d fixed test after web interface change 2013-08-26 17:05:32 +02:00
Jan Steemann 9b8b030a8a added several tests for authentication 2013-08-22 11:18:11 +02:00
Jan Steemann 38abd5bf9e issue #576 2013-08-21 14:02:09 +02:00
Jan Steemann 39f21af47c fixed test error 2013-08-20 11:10:53 +02:00
Lucas Dohmen f0a2aeef4a Foxx: Source Code Transformer is done 2013-08-06 16:13:50 +02:00
Lucas Dohmen b374054740 Foxx: Format Middleware is now optional 2013-08-05 17:05:32 +02:00
Lucas Dohmen c9b48f13cd Foxx: Separating Template Middleware from Base, Step 1 2013-08-05 16:13:51 +02:00
Lucas Dohmen b19d3c69fb Foxx: BaseMiddleware Tests pulled out 2013-08-05 16:13:51 +02:00
Lucas Dohmen b3dd4d7b59 Foxx: Model tests pulled out 2013-08-05 13:41:02 +02:00
Lucas Dohmen 6cef711a7b Foxx: Repository tests pulled out 2013-08-05 13:33:06 +02:00
Jan Steemann c6d9ba1f4c adjusted tests 2013-08-02 11:54:33 +02:00
Jan Steemann 1fc1bb108d added replication client tests 2013-08-02 11:45:55 +02:00
Jan Steemann e86fff18e2 added chunkSize for replication-applier 2013-08-02 11:03:54 +02:00
Jan Steemann 38d8b0b598 adjusted tests and docs 2013-08-01 18:41:13 +02:00
Jan Steemann a7c5350455 added server-id method 2013-08-01 18:27:42 +02:00
Jan Steemann f1418ec667 updated tests and docs 2013-08-01 16:53:29 +02:00
Jan Steemann c2611f567a bugfixed cap constraint 2013-08-01 13:17:38 +02:00
Jan Steemann 002ebd48bc removed all replication conditionals 2013-07-30 13:16:37 +02:00
Jan Steemann a19530c57c attempt to fix failing tests 2013-07-29 09:21:27 +02:00
Jan Steemann 68a1cac6f2 added fm tests 2013-07-27 00:52:28 +02:00
Jan Steemann 6d4a58e625 generate foxx-manager man page 2013-07-26 22:46:58 +02:00
Jan Steemann 3b57e80241 simplified HTTP import API 2013-07-25 18:24:21 +02:00
Jan Steemann 9de2910717 updated replication documentation 2013-07-25 16:32:11 +02:00
Jan Steemann aa9845d1bd fixed graph test 2013-07-25 16:31:37 +02:00
Jan Steemann 8a254ea230 replication API documentation 2013-07-24 17:37:16 +02:00
Jan Steemann 4f14062d10 replication tests 2013-07-24 15:22:45 +02:00
Jan Steemann 0adbe8410f log "rev" 2013-07-23 18:00:29 +02:00
Jan Steemann 5fe1844ee1 replication tests 2013-07-23 15:03:59 +02:00
Jan Steemann f49ae77bc5 include replication tests 2013-07-23 11:19:41 +02:00
Jan Steemann c4f82088dd replication tests 2013-07-22 18:12:56 +02:00
Jan Steemann 3ab117de67 added collection.first() and collection.last() 2013-07-19 14:21:46 +02:00
Lucas Dohmen 42eae4dea4 Better Structure for Makefile Unittests 2013-07-19 10:55:37 +02:00
Jan Steemann e359dc29dd INCOMPATIBLE CHANGE: changed AQL user function namespace resolution operator from `:` to `::`
AQL user-defined functions were introduced in ArangoDB 1.3, and the namespace resolution
operator for them was the single colon (`:`). A function call looked like this:

    RETURN mygroup:myfunc()

The single colon caused an ambiguity in the AQL grammar, making it indistinguishable from
named attributes or the ternary operator in some cases, e.g.

    { mygroup:myfunc ? mygroup:myfunc }

The change of the namespace resolution operator from `:` to `::` fixes this ambiguity.

Existing user functions in the database will be automatically fixed when starting ArangoDB
1.4 with the `--upgrade` option. However, queries using user-defined functions need to be
adjusted on the client side to use the new operator.
2013-07-18 12:02:28 +02:00
Jan Steemann ca6b184286 added TRI_JSON_STRING_REFERENCE 2013-07-10 17:00:29 +02:00
Jan Steemann 3cc4405c18 added collection.checksum() 2013-07-10 11:10:00 +02:00
Jan Steemann 4c952ad927 added unit tests 2013-07-09 12:32:47 +02:00
Jan Steemann a07d2ea011 replication 2013-07-05 12:12:38 +02:00
Jan Steemann bb86a0b2d5 speed up simple queries testing 2013-06-28 09:54:20 +02:00
Jan Steemann 7cc7f2d28e added authentication tests, fixed authentication 2013-06-27 13:53:19 +02:00
Jan Steemann b3c8f6b19a addtl sleep to suppress some errors 2013-06-26 12:06:26 +02:00
Jan Steemann db50b38370 fixed typos 2013-06-25 09:06:20 +02:00
Jan Steemann adfd051c92 added test for unloading 2013-06-24 13:55:51 +02:00
Jan Steemann 373639a3b6 increase unittest timeout 2013-06-21 17:11:20 +02:00
Jan Steemann ee2de60670 less syscalls in logging, do not use file-logging in tests
file-based logging creates a problem with Valgrind 3.8.1 for `make unittests-http-server VALGRIND=valgrind` on OpenSuse 64 bits, -O2
2013-06-21 16:05:58 +02:00
Jan Steemann cae82f27e4 added `/_api/current-database` 2013-06-21 10:25:15 +02:00
Jan Steemann 9dfb7483ff "doCompact" attribute for collections 2013-06-19 16:51:16 +02:00
a-brandt 71c5f89010 Added unittests for structures 2013-06-18 15:56:01 +02:00
Lucas Dohmen b5982aa2aa Make it easier to exclude single Unit Tests
This change is tiny. But its lovely at the same time.
2013-06-14 10:13:17 +02:00
Jan Steemann 74d2a00737 test internal.download() 2013-06-13 15:05:08 +02:00
Jan Steemann 9599a021b9 moved some graph traversal validation into the traversal module
- that simplifies some of the traversal-calling routines
- make returning error codes more consistent (specific 404 errors when
referring to unknown collections instead of simple 400 errors)
- optionally limit traversals to a certain number of iterations so they
  don't run endlessly in cyclic graphs
2013-06-12 17:04:47 +02:00
Jan Steemann 212117d3b4 graph traversal API tests 2013-06-12 15:25:35 +02:00
Jan Steemann e8e10844f4 moved compaction tests 2013-06-11 10:41:40 +02:00
Jan Steemann ab6ca2f017 ported all recent fixes from 1.3 2013-05-16 21:04:04 +02:00
Jan Steemann c7d2f8f8cd some json / shaped-json and string handling improvements 2013-05-13 09:01:07 +02:00
Jan Steemann ede177aa55 issue #507, issue #508 2013-05-06 09:40:28 +02:00
Frank Celler 01d654e923 fixed https version of test 2013-05-05 23:34:02 +02:00
Frank Celler 48515d7bd8 fixed tests 2013-05-05 21:55:10 +02:00
Jan Steemann 928d22eb98 remove temporary files 2013-05-03 18:30:53 +02:00
Jan Steemann 74cd7fc9ef enabled static codebase tests 2013-05-03 11:09:17 +02:00
Jan Steemann ee7ab712d6 issue #495 2013-05-03 11:08:58 +02:00
Jan Steemann ef1fcc89ee added test case for #491 2013-05-02 16:26:40 +02:00
Frank Celler c437c03aa5 fixed path for modules 2013-04-24 12:40:03 +02:00
Frank Celler d02d79ce1c added coffee-script 2013-04-21 22:57:19 +02:00
Frank Celler 5f0f9922f8 added node path 2013-04-21 22:16:06 +02:00
Jan Steemann cd17f1ef44 issue #481 2013-04-21 11:37:46 +02:00
Jan Steemann 4d172c69d3 added test case 2013-04-17 09:31:30 +02:00
Jan Steemann 7d9777f8c5 extended API for user-defined AQL functions 2013-04-16 18:32:19 +02:00
Jan Steemann c945dbd2cd updated transaction API 2013-04-15 11:54:36 +02:00
Jan Steemann dee5adb9f5 added client side API for transactions 2013-04-12 23:18:48 +02:00
Jan Steemann 5ff92dddb6 added test case 2013-04-12 15:45:28 +02:00
Jan Steemann b3e8313a5e added transaction test 2013-04-12 15:24:07 +02:00
Jan Steemann b6925a7b7b transactions 2013-04-11 19:06:55 +02:00
Jan Steemann ed10d9b6aa AQL user functions 2013-04-05 12:50:44 +02:00
Jan Steemann 1417def879 disallow create/drop/rename operations inside transactions 2013-04-04 09:41:44 +02:00
Jan Steemann f7a5cf4cf3 transactions 2013-04-03 14:40:23 +02:00
Frank Celler f810711a79 FreeBSD port 2013-04-02 18:43:10 +02:00
Frank Celler 3512fa6ff0 fixed error handling 2013-04-02 15:00:55 +02:00