1
0
Fork 0
Commit Graph

1319 Commits

Author SHA1 Message Date
Max Neunhoeffer 9be20720aa Fix reporting of result for ruby tests. 2014-09-25 13:45:02 +02:00
Willi Goesgens 8df5b7e9d9 Catch exceptions and print informations to debug the tests. 2014-09-25 13:39:42 +02:00
Willi Goesgens b21e0ff425 replace single test runner with options skip-server/skip-client by single_server and single_client. This suits the layering of the result structures better. 2014-09-25 13:22:54 +02:00
Max Neunhoeffer db5b987e0d Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel 2014-09-25 11:56:16 +02:00
Max Neunhoeffer 29401bb637 Fix typo. 2014-09-25 08:50:46 +02:00
Willi Goesgens 74f669118a Adopt jasmine results into new report scheme on testsuite base 2014-09-24 17:30:40 +02:00
Willi Goesgens 47c4817c50 Adjust perf tests reply structure & the report generator to the new standard. 2014-09-24 13:35:44 +02:00
Jan Steemann c8efcda671 jslint 2014-09-24 09:34:14 +02:00
Willi Goesgens a9003baa84 Properly handle http remoting failures and output the fail message along with the test results. 2014-09-23 17:53:35 +02:00
Willi Goesgens 357764ac57 Implement structures in the same way for all other tests, and move the pretty printer over, so users calling testing.js directly can also enjoy human readable test results. 2014-09-23 16:56:24 +02:00
Willi Goesgens 9e53626f5b Add status to perftests, so the unittestrunner is lucky with our result and we don't fail in jenkins. 2014-09-23 11:17:22 +02:00
Willi Goesgens 42647b01f7 Fix aggregation of overal test result state 2014-09-23 10:18:49 +02:00
Jan Steemann 92f87c19ce Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	arangod/V8Server/v8-vocbase.cpp
2014-09-22 23:51:16 +02:00
Jan Steemann 9716a482cd fixed issue #1025: Traversal not as expected in undirected graph 2014-09-22 23:08:17 +02:00
Willi Goesgens 03ca3431e1 Add more information to the unittest status xml 2014-09-22 17:10:06 +02:00
Jan Steemann 6ab1ff472a Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2 2014-09-22 09:30:58 +02:00
Alan Plum 4aa876c70f Make RequestContextBuffer methods chainable. 2014-09-21 23:01:06 +02:00
Jan Steemann 767052e0fe jslint 2014-09-19 17:55:34 +02:00
Willi Goesgens afc512a3b1 Add perf tests to executor script. 2014-09-19 16:30:31 +02:00
Willi Goesgens feb01d87c5 Testrunner:
- add documentation for valgrind options
  - add possibility to pass commandline parameters for arangod in
2014-09-17 14:36:10 +02:00
Willi Goesgens bf72ab863a Add possibility to reset the test case before re-executing more tests 2014-09-17 11:05:07 +02:00
Jan Steemann 92814c418e fixed script 2014-09-16 17:03:35 +02:00
Jan Steemann 5c820cea34 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	arangod/V8Server/v8-vocbase.cpp
2014-09-16 16:33:47 +02:00
Lucas Dohmen a9e674b368 Merge pull request #1024 from triAGENS/repo-methods
Made Foxx.Repository methods behave more consistently (fixes #975)
2014-09-16 15:44:31 +02:00
Willi Goesgens ce08c58718 add the ability to run the test themselves in valgrind. 2014-09-16 14:25:25 +02:00
Alan Plum 6f357edb67 Made Foxx.Repository methods behave more consistently. Fixes #975. 2014-09-16 14:05:20 +02:00
Lucas Dohmen a2e56535f1 Merge pull request #1021 from triAGENS/easy-params
Allow passing joi params directly
2014-09-16 12:58:02 +02:00
Alan Plum cd8af52859 Added documentation for ctrl.before interrupts. 2014-09-16 11:45:08 +02:00
Alan Plum e04cfebfe2 Added tests and docs for param shorthand syntax, allow passing 'allowMultiple' via joi.meta, fixed joi.required/optional being ignored. 2014-09-16 11:33:35 +02:00
Lucas Dohmen 7abbb58ac2 Merge pull request #1023 from triAGENS/foxx-before-guard
Allow ctrl.before to prevent further processing of the request
2014-09-16 10:51:36 +02:00
scottashton b12d7f99cd added resolving from example strings to objects in GRAPH_NEIGHBORS 2014-09-16 10:36:56 +02:00
Alan Plum cf3c219f22 Revert "Allow specifying "_" as collection prefix."
This reverts commit ebc5c1490d14471b04b8398b44a06896a9460ea8.
2014-09-16 10:27:08 +02:00
Alan Plum 6e3e5d47fc Allow ctrl.before to prevent further processing of the request. 2014-09-16 00:17:46 +02:00
Alan Plum b1a0098c03 Allow passing joi params directly. 2014-09-15 23:34:41 +02:00
Jan Steemann 481a16fd7a removed bitarray indexes 2014-09-15 14:19:38 +02:00
Jan Steemann 34d2913002 added NOT IN operator, added keywords NOT, AND, OR 2014-09-14 01:34:58 +02:00
Jan Steemann 287a6f6b49 fixed errors reported by jslint 2014-09-14 00:09:09 +02:00
Willi Goesgens ea6ab2510e getQueryMultiplePlansAndExecutions: add optional debug facility which does trace output. 2014-09-12 14:36:55 +02:00
Willi Goesgens 9bb0f22b7b Cleanup tests to make the linter happy, move multi-query-helper into the aql-helper. 2014-09-12 10:40:44 +02:00
Jan Steemann 611ef2b73c removed "old" AQL function AQL_EXPLAIN 2014-09-11 14:12:01 +02:00
Jan Steemann 672eec350e removed "old" AQL function 2014-09-11 13:56:15 +02:00
Willi Goesgens 0225311f2d Merge branch 'aql2' of github.com:triAGENS/ArangoDB into aql2 2014-09-11 13:25:18 +02:00
Willi Goesgens 01363e6759 UnitTests: divert to AQL2 in the modifying queries tests; adjust to new reply-syntax. 2014-09-11 11:32:44 +02:00
Jan Steemann 39f64dcc5f Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2 2014-09-10 14:32:20 +02:00
Jan Steemann 7113480e98 changed return value of applicationContext.collectionName
Now, a valid collection name is always returned, even if the application name prefix contains invalid characters
2014-09-10 14:30:45 +02:00
Jan Steemann f824474503 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2 2014-09-10 12:00:10 +02:00
scottashton 9a739ec403 fixed bug in floyd-warshall result generation 2014-09-10 11:47:35 +02:00
Jan Steemann c027750d19 jshint 2014-09-10 11:45:59 +02:00
Jan Steemann 2642888b6d Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2 2014-09-09 23:33:31 +02:00
Jan Steemann 346a41a009 fixed reporting of "undefined" response code 2014-09-09 23:18:25 +02:00
Jan Steemann c16ddedc83 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	arangod/V8Server/v8-vocbase.cpp
	js/apps/system/aardvark/frontend/js/bootstrap/errors.js
	js/common/bootstrap/errors.js
	js/server/modules/org/arangodb/ahuacatl.js
	js/server/modules/org/arangodb/aql-helper.js
	js/server/tests/shell-skiplist-index.js
2014-09-09 22:18:52 +02:00
Alan Plum 844621f070 Implemented Foxx.createQuery. 2014-09-09 17:02:21 +02:00
Alan Plum e2c4a62ff7 Cleaned up FoxxController#activateSessions. 2014-09-04 22:30:39 +02:00
Alan Plum 99f9088830 Removed cookie logic from sessions app, simplified jwt logic. 2014-09-04 21:34:46 +02:00
Alan Plum 251e046929 Added req.cookie and res.cookie helper methods to Foxx. 2014-09-04 21:33:33 +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
scottashton db5a109b0a Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-09-04 16:50:56 +02:00
scottashton ff8791f6fb fixed betweeness and bug in floyd warshall 2014-09-04 16:50:52 +02:00
Alan Plum 0a2ffb19ee Only lowercase session header when reading it. 2014-09-04 16:33:57 +02:00
Alan Plum e48fb8bfe8 Lowercase HTTP headers for maximum profit. 2014-09-04 16:04:19 +02:00
Alan Plum abe5de335b Add support for "header" sessions. 2014-09-04 15:58:32 +02:00
Willi Goesgens 49ff0423f0 Recurse into subqueries to dig for nodes; thus the test gets a flat representation. 2014-09-03 17:14:21 +02:00
scottashton 581ffee899 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-09-03 13:48:41 +02:00
scottashton ccb1e58e9b vertex/edge examples now support a list od id strings 2014-09-03 13:48:36 +02:00
Alan Plum e86c98dfe2 Enabled unused: true, ported aardvark jslint to jshint. 2014-09-02 22:18:18 +02:00
Alan Plum 7b24bdba8d Enabled strict: true. 2014-09-02 22:16:07 +02:00
Alan Plum 606da1e3e8 Removed jslint headers from server/client/common modules. 2014-09-02 22:14:56 +02:00
Alan Plum 3156a245f6 Stricter jshintrc. 2014-09-02 22:12:46 +02:00
Alan Plum 6a3386e55a Fixed jshint headers. 2014-09-02 22:12:45 +02:00
Frank Celler e7e9afd4a7 added around 2014-09-01 23:26:04 +02:00
Willi Goesgens e29668c514 SortIndex: start implementing unittests for the different usecases. 2014-09-01 18:48:32 +02:00
Jan Steemann a02b962e3e added optimizer test 2014-09-01 12:14:15 +02:00
Jan Steemann 8a96f907b0 refactored function argument conversion 2014-08-29 10:59:24 +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 cd1d0c45f8 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	arangod/V8Server/v8-query.cpp
2014-08-27 19:25:37 +02:00
Jan Steemann 6721dd787c fix typo in manual 2014-08-27 12:26:24 +02:00
Alan Plum b977c3e605 Fixed destroySession docs. 2014-08-26 11:45:18 +02:00
Lucas Dohmen 8578042b73 Fixed the success callback for Queues
When an option was missing, the resulting String would have `, ,`
in the String to be evaluated which would result in a syntax error
2014-08-25 17:36:50 +02:00
Alan Plum 7f120194f4 Added "preprocess" to job type definitions. 2014-08-25 15:29:07 +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
Jan Steemann 1b3c8b88cf jslint 2014-08-22 17:58:19 +02:00
Michael Hackstein 8232035989 Improved graph traversals by an order of magnitute 2014-08-22 17:01:02 +02:00
Alan Plum 83f47db07f Pass worker result to success/failure handler instead of discarding it. 2014-08-22 13:16:45 +02:00
Jan Steemann 317c7870f0 fix tests with Valgrind 2014-08-21 11:52:05 +02:00
Alan Plum 30ee27d1c0 Fixed Foxx params with alternatives breaking API docs. 2014-08-20 17:01:33 +02:00
Alan Plum 501735c78b Keep legacy users API backwards-compatible. 2014-08-20 14:19:08 +02:00
Alan Plum 369485b129 Replaced backticks with splats to follow doc styleguide. 2014-08-20 11:10:50 +02:00
Alan Plum fefe0d0e6d Replaced org/arangodb/users internals with users app compatible format. 2014-08-20 11:10:50 +02:00
Alan Plum 288c6d8d31 Allow specifying "_" as collection prefix. 2014-08-20 10:57:48 +02:00
Alan Plum 3b00e307ea Formatting. Fixed inline docs in controller. 2014-08-20 10:57:47 +02:00
Alan Plum 3be0e11110 Simplified is-mounted-as-system-app check. 2014-08-20 10:57:47 +02:00
Alan Plum cb3842b149 System apps now mount at _system instead of system. 2014-08-20 10:57:47 +02:00
Alan Plum 7bfb6d5d3f Fixed activateSessions default app path. 2014-08-20 10:57:46 +02:00
Alan Plum a85bc09de4 Only prohibit unmounting system apps mounted at system paths. 2014-08-20 10:57:46 +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 f8cf5dc26d Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	arangod/V8Server/v8-vocbase.cpp
2014-08-15 18:47:18 +02:00
Alan Plum a97417408a Applied performance optimization for queues. 2014-08-15 17:43:49 +02:00
Alan Plum 98d475c103 Fixed deleting queues/jobs. 2014-08-15 15:47:42 +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
Alan Plum da36a1d42e Added support for job type schemas. 2014-08-13 15:37:44 +02:00
Jan Steemann 52911293f7 added special compare function to take into account floating point differences 2014-08-12 19:14:13 +02:00
Alan Plum 1913a7b231 Extracted worker, manager modules from queue. Implemented backOff, delayUntil, success/failure callbacks, push(maxFailures). 2014-08-12 19:02:46 +02:00
Alan Plum fce8ab70f2 Renamed queues.destroy => queues.delete. 2014-08-12 19:02:46 +02:00
Alan Plum f5ad50d930 Return number of pending jobs in queue on push. 2014-08-12 19:02:45 +02:00
Alan Plum 88d684e1d6 Allow creating queues with default number of workers, don't update queue if maxWorkers is not set. 2014-08-12 19:02:45 +02:00
Alan Plum f4f201872c Cache queue objects. 2014-08-12 19:02:45 +02:00
Alan Plum 19578891fb More consistent naming. 2014-08-12 19:02:45 +02:00
Alan Plum aaefbfb79f Removed unused variable. 2014-08-12 19:02:45 +02:00
Alan Plum cc6a141d66 Linting. 💥 2014-08-12 19:02:45 +02:00
Alan Plum 191b3fc88a Implemented worker/manager internals. 2014-08-12 19:02:44 +02:00
Alan Plum 2093c28359 Fixed Foxx.queues. 2014-08-12 19:02:44 +02:00
Alan Plum 123127e57d Exposed Foxx.queues._manager.run. 2014-08-12 19:02:44 +02:00
Alan Plum 698fd3d8ec Revised implementation of Foxx queues. 2014-08-12 19:02:44 +02:00
Alan Plum 76c7920457 Basic implementation. 2014-08-12 19:02:44 +02:00
Frank Celler 7a6d5413a1 database version is now AABBCC, where AA = major, BB = minor, CC = patch 2014-08-12 09:58:42 +02:00
Willi Goesgens 5d495e4f64 Output the failing functions during tests. 2014-08-11 17:34:45 +02:00
Willi Goesgens 62d9435269 in case of we don't like the error number, output it plus the error message. 2014-08-11 16:50:56 +02:00
Willi Goesgens 4ae37d8840 If before/after Unittests fail to match results, print the query responsible. 2014-08-11 16:09:32 +02:00
Max Neunhoeffer 3b1d938dda Make test framework throw if results are unequal. 2014-08-11 09:33:58 +02:00
Max Neunhoeffer 4037112858 Make AQL2 test framework work. 2014-08-08 15:33:36 +02:00
Max Neunhoeffer 3e5493a164 Fix js tests. 2014-08-08 14:40:02 +02:00
Max Neunhoeffer 9d9d3962c0 Create unittest framework for new AQL. 2014-08-08 14:39:08 +02:00
Frank Celler be06ef7f25 new upgrade-database (formely known as version-check) and new startup procedure 2014-08-07 14:12:19 +02:00
Jan Steemann dbf2842a28 much better exception handling 2014-08-06 18:37:37 +02:00
scottashton fba85a7c6c GRAPH_VERTICES now returns orphans 2014-07-30 11:23:10 +02:00
scottashton 0a15993322 jslinted filed 2014-07-25 16:09:40 +02:00
scottashton 8776a84447 fixed bug with edgeCollectionRestrictions 2014-07-25 15:55:45 +02:00
Alan Plum facd7dc515 Fixed #961. Undocumented bodies should never throw. 2014-07-24 11:22:30 +02:00
Jan Steemann 8cb85fd973 optimization for AQL queries with limit 2014-07-23 17:15:01 +02:00
scottashton a30c8fe8ec performance boost for GRAPH_EDGES and GRAPH_NEIGHBORS 2014-07-23 13:49:00 +02:00
Jan Steemann 55a3bb5929 style 2014-07-22 17:39:29 +02:00
Alan Plum 2c812af557 Fixed cookie domain being set to cookie path if a cookie path is provided. 2014-07-17 12:41:18 +02:00
Thomas Schmidts 389439932f Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-07-14 13:37:51 +02:00
Max Neunhoeffer 9e3ccdc2e0 Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel 2014-07-14 11:25:38 +02:00
Alan Plum 15372670e0 Fixes #947. 2014-07-14 10:49:34 +02:00
Thomas Schmidts ecb2c29729 Fixed wrong link in Aql/GraphOperations 2014-07-11 15:47:47 +02:00
scottashton 0a69895d74 FIXED GRAPH_NEIGHBORS , DID THROW WHEN NO EDGES HAVE BEEN DEFINED 2014-07-11 09:05:36 +02:00
scottashton ad989fe036 minor bug fix 2014-07-10 15:43:57 +02:00
scottashton 435cf1a4df minor bugs ahuacatl 2014-07-09 15:59:09 +02:00
scottashton a249dd46eb minor bugs ahuacatl 2014-07-09 15:45:25 +02:00