1
0
Fork 0
Commit Graph

768 Commits

Author SHA1 Message Date
Jan Steemann 5962e9dfc4 added std::19337 2014-05-31 02:56:18 +02:00
Jan Steemann d4dd58b264 merged primary-collection.cpp with document-collection.cpp 2014-05-31 00:22:32 +02:00
Jan Steemann 0e326149d8 added test case 2014-05-30 12:53:14 +02:00
Jan Steemann dc742f255a Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh 2014-05-22 10:52:37 +02:00
Jan Steemann c38de677d0 cleaned up WAL markers 2014-05-21 14:17:58 +02:00
Jan Steemann cc866d2357 added graph tests to automatic tests 2014-05-20 17:44:37 +02:00
Jan Steemann cdad1f19fe moved marker definitions 2014-05-20 14:21:12 +02:00
Jan Steemann 029b7333ba added remove marker struct 2014-05-20 13:17:01 +02:00
Jan Steemann 57753f84dd added new structs for WAL documents and edges 2014-05-20 11:49:12 +02:00
Jan Steemann c9e49c5446 reverted struct change 2014-05-20 11:39:15 +02:00
Jan Steemann 8879e27738 removed unused struct 2014-05-20 11:30:02 +02:00
Jan Steemann 36567df644 removed libbson 2014-05-16 20:32:05 +02:00
Jan Steemann cc956b3976 scan-build 2014-05-15 10:18:05 +02:00
Jan Steemann 2bc4aa90af fixed issues found by scan-build 2014-05-15 10:09:06 +02:00
Jan Steemann c9586d82dc added make jslint to target 2014-05-12 14:45:19 +02:00
Jan Steemann cfc2d407d7 added tests for task management 2014-05-10 00:43:14 +02:00
Jan Steemann 78185a60d7 fixed return code for async job cancellation 2014-05-08 18:27:46 +02:00
Jan Steemann 0cb2217518 no need to run the GC after each and every request during testing
this change will hopefully make tests run a bit faster
2014-04-23 23:22:49 +02:00
Jan Steemann 42809a20de removed debug output 2014-04-23 21:45:41 +02:00
Jan Steemann b6fa2971ed debug output 2014-04-22 22:35:36 +02:00
Jan Steemann 906d648df9 fixed test on faster computers 2014-04-22 11:30:38 +02:00
Frank Celler 6cdfa029c9 added more error information, fixed try catch
Conflicts:
	CHANGELOG
	arangod/V8Server/ApplicationV8.cpp
2014-04-21 13:35:06 +02:00
Max Neunhoeffer 276a3f8e1e Add bson unittest. 2014-04-08 11:39:07 +02:00
Jan Steemann 3cc2b59e74 size tests 2014-04-07 21:27:57 +02:00
Jan Steemann 98974baf63 removed reference to non-existing file 2014-04-07 21:02:59 +02:00
Max Neunhoeffer 7383abbfa3 Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel 2014-04-07 15:07:40 +02:00
Max Neunhoeffer 5dc976ad45 Improve BsonHelper interface. 2014-04-07 15:07:22 +02:00
Jan Steemann 9a6cab4386 cpp 2014-04-07 14:30:51 +02:00
Jan Steemann 282f510e34 fixed race conditions 2014-04-04 14:57:14 +02:00
Jan Steemann 2740803d0b removed obsolete test targets 2014-04-03 23:22:50 +02:00
Jan Steemann b43bc4b657 change order of includes so it compiles 2014-04-03 20:31:42 +02:00
Jan Steemann a63b27d94a Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-04-03 19:59:05 +02:00
Jan Steemann a325df8982 fixed test 2014-04-03 13:50:21 +02:00
Jan Steemann 88c3089b36 don't report bogus error messages 2014-04-02 17:51:25 +02:00
Max Neunhoeffer 92d28201e1 Fixes for traversal tests for the cluster. 2014-04-02 13:53:53 +02:00
Max Neunhoeffer ce8580bd8a Repair traversal tests for new edge index. 2014-04-02 11:12:24 +02:00
Max Neunhoeffer 0b80d25c29 Fix bug in associative-multi-pointer hash.
Also finish unittest for it.
2014-04-01 20:28:58 +02:00
Max Neunhoeffer a3596a6013 Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel 2014-04-01 10:09:10 +02:00
Max Neunhoeffer 064371769a Add to unittest, not yet working. 2014-04-01 10:02:10 +02:00
Jan Steemann 9d231223fd Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-03-31 16:45:26 +02:00
Max Neunhoeffer 53f2203c8b New test. 2014-03-31 16:26:14 +02:00
Jan Steemann c39510820d added tests 2014-03-31 13:47:17 +02:00
Jan Steemann 5f3ea348bc separated FNV hashing functions 2014-03-31 11:41:23 +02:00
Jan Steemann 3184d08746 added more tests for CRC32 2014-03-28 21:29:49 +01:00
Jan Steemann 5a3f2aaa49 improved job API
* added REST API method HTTP GET `/_api/job/job-id` to query the status of an
  async job without potentially fetching it from the list of done jobs

* fixed non-intuitive behaviour in jobs API: previously, querying the status
  of an async job via the API HTTP PUT `/_api/job/job-id` removed a currently
  executing async job from the list of queryable jobs on the server.
  Now, when querying the result of an async job that is still executing,
  the job is kept in the list of queryable jobs so its result can be fetched
  by a subsequent request.
2014-03-21 21:19:45 +01:00
Frank Celler b78167169d fixed compilation for clang 5.1 2014-03-14 16:43:27 +01:00
Jan Steemann dd594fe75a added NO_LOG option to disable rspec logging 2014-03-14 13:25:53 +01:00
Jan Steemann f4752e8f91 added tests for error codes and messges 2014-03-13 23:56:45 +01:00
Jan Steemann babaf2738b adjusted tests 2014-03-12 14:19:13 +01:00
Jan Steemann 35cf13a38c more tests for shapes 2014-03-12 13:26:09 +01:00
Max Neunhoeffer 24e7293dba Split shell-any tests to save time on the cluster. 2014-03-10 10:21:28 +01:00
Jan Steemann 469923ca26 fixed test 2014-03-03 09:17:55 +01:00
Jan Steemann b090276273 fixed tests 2014-02-28 20:00:51 +01:00
Jan Steemann d7c29386ef fixed replication test runner 2014-02-28 20:00:29 +01:00
Max Neunhoeffer 35db5983a9 Add the cluster test case. 2014-02-28 17:26:15 +01:00
Max Neunhoeffer 803d3789f1 Disable test with a bad timeout on cluster. 2014-02-28 17:22:51 +01:00
Max Neunhoeffer 8f701ee143 Forgot a file in previous commit. 2014-02-28 16:55:15 +01:00
Max Neunhoeffer 4913c7abf6 Split ruby transaction tests for cluster/noncluster. 2014-02-28 16:54:49 +01:00
Jan Steemann 65feb43294 adjusted test expectations 2014-02-28 09:29:52 +01:00
Jan Steemann 6243ec7310 split tests 2014-02-27 15:15:08 +01:00
Jan Steemann cefef13c42 fixed a failing test 2014-02-27 11:58:16 +01:00
Jan Steemann 8c04d6b12e fixed tests 2014-02-27 11:39:36 +01:00
Frank Celler e10bab8059 Merge branch 'devel' of github.com:triAGENS/ArangoDB into sharding 2014-02-27 09:16:02 +01:00
Frank Celler 8406f51435 Merge remote-tracking branch 'origin/1.4' into devel
Conflicts:
	CHANGELOG
	VERSION
	arangod/Ahuacatl/ahuacatl-access-optimiser.c
	arangod/Ahuacatl/ahuacatl-codegen.c
	build.h
	configure
	configure.ac
	js/apps/system/aardvark/api-docs.json
	js/apps/system/aardvark/api-docs/batch.json
	js/apps/system/aardvark/api-docs/database.json
	js/apps/system/aardvark/api-docs/endpoint.json
	js/apps/system/aardvark/api-docs/job.json
	js/apps/system/aardvark/api-docs/replication.json
	js/apps/system/aardvark/api-docs/system.json
	js/apps/system/aardvark/frontend/js/modules/org/arangodb/graph/traversal.js
	js/common/modules/org/arangodb/graph/traversal.js
	js/server/modules/org/arangodb/ahuacatl.js
	lib/HttpServer/HttpCommTask.h
2014-02-27 09:13:03 +01:00
Jan Steemann 23a13daf80 fixed make target unittests-shell-server-only 2014-02-26 20:09:58 +01:00
Max Neunhoeffer e68a3e9c05 Rename test. 2014-02-26 15:04:25 +01:00
Max Neunhoeffer bacfafea7f Rename non-cluster tests. 2014-02-26 14:38:55 +01:00
Max Neunhoeffer 16a2fa6770 Split noncluster and general shell-keygen tests. 2014-02-26 14:27:55 +01:00
Jan Steemann b634aff8a8 renamed test 2014-02-26 13:45:08 +01:00
Max Neunhoeffer 57bf2292be Disable import test on cluster. 2014-02-26 12:44:56 +01:00
Max Neunhoeffer 86faf20dbb Disable transactions server test on cluster. 2014-02-26 10:17:05 +01:00
Max Neunhoeffer ff43f0601b Merge branch 'sharding' of ssh://github.com/triAGENS/ArangoDB into sharding 2014-02-26 08:41:28 +01:00
Jan Steemann 23ba186b0d Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into sharding
Conflicts:
	CHANGELOG
	arangod/Ahuacatl/ahuacatl-access-optimiser.c
	arangod/CapConstraint/cap-constraint.c
	js/apps/system/aardvark/frontend/scss/_tiles.scss
	js/apps/system/aardvark/frontend/scss/generated.css
	js/apps/system/aardvark/frontend/scss/style.scss
	js/common/modules/org/arangodb/users-common.js
2014-02-25 17:21:14 +01:00
Max Neunhoeffer af02a45e45 Disable test on cluster. 2014-02-25 16:16:33 +01:00
Jan Steemann af96607fc1 fixed index tests 2014-02-25 11:19:51 +01:00
Jan Steemann 870f969933 added user validation API at POST `/_api/user/<username>` 2014-02-24 11:12:37 +01:00
Frank Celler 832254b7b7 fixed graph again 2014-02-21 23:12:37 +01:00
Max Neunhoeffer f7e57a5b47 Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into sharding
Conflicts:
	js/apps/system/aardvark/frontend/scss/generated.css
	js/apps/system/aardvark/manifest.json
	lib/Rest/EndpointIp.cpp
	lib/Rest/EndpointUnixDomain.cpp
	lib/V8/v8-utils.cpp
2014-02-21 15:28:21 +01:00
Jan Steemann 211b0da24b moved options --server.reuse-address and --server.no-reuse-address into ApplicationEndpointServer 2014-02-21 14:44:18 +01:00
Max Neunhoeffer 3cb1784430 Reorganise unit tests.
In JS framework we now find the available test files by directory
listing. This means one can simply drop a file in the right
directory to add a test.

We use a naming convention for filenames which is explained
in the README files in the corresponding directories.

Old unit tests do not yet use this but do use the new names and
should still work as usual.
2014-02-21 11:24:31 +01:00
Max Neunhoeffer d2538cefeb Add http_server and ssl_server tests to js framework. 2014-02-20 12:52:03 +01:00
Max Neunhoeffer d55a4678f9 Merge branch 'sharding' of ssh://github.com/triAGENS/ArangoDB into sharding 2014-02-20 10:24:22 +01:00
Max Neunhoeffer 3d332ad01e Adjust paths to allow call with a different current dir. 2014-02-20 10:20:24 +01:00
Jan Steemann 29c09e1ef7 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into sharding 2014-02-20 10:04:43 +01:00
Jan Steemann a0c3a7fe56 improved users API 2014-02-20 10:04:13 +01:00
Jan Steemann 70aca15aa0 fixed test 2014-02-20 09:15:57 +01:00
Jan Steemann 66bc4c9a41 allow unique index creation on shard keys only 2014-02-19 10:30:41 +01:00
Jan Steemann f35b59ba16 updated tests 2014-02-18 15:49:12 +01:00
Heiko Kernbach 63e8a95f67 Merge branch 'sharding' of https://github.com/triAGENS/ArangoDB into sharding 2014-02-18 14:29:56 +01:00
Heiko Kernbach b69fad0381 merge origin/devel 2014-02-18 14:29:44 +01:00
Jan Steemann 29f3e17eef extract real error number 2014-02-18 14:27:32 +01:00
Jan Steemann dc8e590bca inedges, outedges, edges 2014-02-18 13:46:09 +01:00
Jan Steemann 39584f0735 adjusted user result structure 2014-02-18 12:05:05 +01:00
Jan Steemann 682e00245b fulltext 2014-02-18 10:14:52 +01:00
Jan Steemann 6c3c4b5dce near/within 2014-02-18 09:47:33 +01:00
Jan Steemann 9f16760359 simple query range 2014-02-17 16:41:10 +01:00
Jan Steemann 5c13019522 added tests 2014-02-17 11:37:49 +01:00
Jan Steemann 0f0ef8a33f updated index docs 2014-02-14 10:30:05 +01:00
Jan Steemann f8476ce0b0 fixed tests 2014-02-13 18:14:53 +01:00
Michael Hackstein bc16cfae86 Merge remote-tracking branch 'origin/devel' into sharding
Conflicts:
	Documentation/InstallationManual/Installing.md
	arangosh/CMakeLists.txt
2014-02-11 15:52:49 +01:00
Frank Celler fe8bab5457 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
Conflicts:
	CHANGELOG
2014-02-11 13:27:22 +01:00
Frank Celler c6ce5c7406 made module loader more node compatible, added coffee script support 2014-02-11 13:26:11 +01:00
Jan Steemann fe7dde8909 more randomness for test 2014-02-11 09:38:43 +01:00
scottashton 80768b564b fixed waitForSync in graph api, adjusted documentation, delete tests in api-http-spec.rb due to change in ruby lib 2014-02-10 17:53:21 +01:00
scottashton 6617683cff fixed waitForSync in graph api, adjusted documentation, delete tests in api-http-spec.rb due to change in ruby lib 2014-02-10 17:47:32 +01:00
Jan Steemann b4d9f10f17 fixed some database methods 2014-02-06 15:54:34 +01:00
Jan Steemann c38c038492 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into sharding
Conflicts:
	CHANGELOG
	js/apps/system/aardvark/frontend/css/collectionsItemView.css
	js/apps/system/aardvark/frontend/css/graphlayout.css
2014-02-06 13:18:52 +01:00
Jan Steemann b5550e17a6 updated tests and documentation 2014-02-06 12:11:17 +01:00
Jan Steemann 10eb807366 fixed HTTP CRUD operations 2014-02-05 17:19:45 +01:00
Jan Steemann 7a397ac985 renamed tests 2014-02-05 15:20:19 +01:00
Jan Steemann 58b3e0f99d splitted a few tests 2014-02-05 15:15:51 +01:00
Jan Steemann 3e5b366021 make test directories more independent 2014-02-04 12:08:01 +01:00
Jan Steemann e9c5af7895 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into sharding
Conflicts:
	CHANGELOG
	js/apps/system/aardvark/frontend/css/collectionsView.css
	js/apps/system/aardvark/frontend/css/layout.css
	js/apps/system/aardvark/frontend/js/routers/router.js
2014-01-30 19:40:21 +01:00
Max Neunhoeffer c3f01237b0 Implement replace and update on cluster.
This still has a freeing too early bug with TRI_json_t.
2014-01-28 16:49:44 +01:00
Jan Steemann 7f240a1625 fixed segfault in import API 2014-01-27 16:12:39 +01:00
Jan Steemann 57ca73f463 fixed segfault in import API 2014-01-27 16:12:10 +01:00
Jan Steemann 1b08bc6582 start up the HTTP server when starting ArangoDB in console mode 2014-01-27 09:45:26 +01:00
Jan Steemann df1ce45e15 issue #751: Create database through API should return HTTP status code 201 2014-01-27 08:54:36 +01:00
a-brandt 62d81cee14 added HAS and HAS_NOT 2014-01-24 14:59:49 +01:00
a-brandt 041b7f5daa added HAS and HAS_NOT 2014-01-24 14:49:50 +01:00
Jan Steemann 5be81a976b removed separate cluster tests 2014-01-24 12:51:26 +01:00
Jan Steemann b1fccd1bb0 added tests for JSON hashing 2014-01-23 16:42:42 +01:00
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