1
0
Fork 0
Commit Graph

6793 Commits

Author SHA1 Message Date
Willi Goesgens c1a0f4be7c Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-10-15 17:38:29 +02:00
Willi Goesgens caecb9936f Move deletion of temporary files from test to the total end of the test run. 2014-10-15 17:37:55 +02:00
Jan Steemann 24dcb9c369 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-10-15 17:33:26 +02:00
Jan Steemann edae662eb4 added res.send() and res.sendFile() 2014-10-15 17:33:10 +02:00
Willi Goesgens 43e4a4f126 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-10-15 17:03:22 +02:00
Willi Goesgens 013db5856d When running the tests with valgrind we don't want to shut down the server instance forcefully to avoid false positives. 2014-10-15 17:02:44 +02:00
Thomas Schmidts 0fd685eb07 Fixed small spelling errors 2014-10-15 16:04:25 +02:00
Willi Goesgens e3977c20ed Abstract the filter mechanism, so it can be used by all testcases
apply -skipGeo to jsunity tests too.
2014-10-15 14:57:59 +02:00
Jan Steemann 86f31a4e7a Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-10-15 14:01:24 +02:00
Jan Steemann c946a1536a documentation for fs 2014-10-15 14:01:15 +02:00
Willi Goesgens 26e28f4430 Flag this performance test as timecritical so we can skip this from valgrind tests. 2014-10-15 13:34:22 +02:00
Jan Steemann cc9f416bba whitespace 2014-10-15 12:45:57 +02:00
Jan Steemann bf1cc16c5f attempt to make test more deterministic 2014-10-15 12:45:25 +02:00
Jan Steemann 1121ffd89e Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-10-15 12:44:21 +02:00
Jan Steemann 6511fec7c6 added tests for fs.read and fs.write 2014-10-15 12:44:04 +02:00
James b2c76978ac Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel 2014-10-15 09:02:06 +01:00
James 9404158123 adding elementary test file for distribute-in-cluster 2014-10-15 09:01:47 +01:00
Willi Goesgens 9040b3c663 Add the testrun name to the data directory, so we can better reference them in the valgrind results. 2014-10-15 10:00:38 +02:00
Jan Steemann 76fdd17d6b Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-10-14 19:07:43 +02:00
Jan Steemann 6bd448be46 added support for reading / writing binary data in fs.readFileSync && fs.write 2014-10-14 19:07:16 +02:00
Willi Goesgens 244a2771b2 Work on documentation & usage:
- add unittest readme
  - unify the commandline help output of testing.js
  - utilise the commandline output of testing.js in unittest.js
2014-10-14 16:18:53 +02:00
Jan Steemann 766faddaf1 changed copyright from triAGENS GmbH to ArangoDB in ArangoShell 2014-10-14 13:54:38 +02:00
Jan Steemann fc8094e832 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-10-14 13:20:18 +02:00
Jan Steemann 6895ba9e27 fixed tests 2014-10-14 13:20:10 +02:00
James 1bed52300e Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel 2014-10-14 11:29:34 +01:00
James adca1117ff removing debug output, up dating tests. 2014-10-14 11:29:14 +01:00
Jan Steemann dfb1905035 fixed tests 2014-10-14 12:03:25 +02:00
Jan Steemann 49074d17c1 forked 2014-10-14 11:29:01 +02:00
Jan Steemann 5dd593991b Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-10-14 11:18:29 +02:00
Jan Steemann 95cfbd7051 test fix 2014-10-14 11:18:16 +02:00
Willi Goesgens fa926a48a7 Add timecritical option to the unittests 2014-10-14 11:04:45 +02:00
Willi Goesgens b68c7c6a9a Mark test as being timecritical 2014-10-14 10:18:05 +02:00
Willi Goesgens 0688222b32 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-10-14 10:17:34 +02:00
Jan Steemann 1784ea856a Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-10-14 10:15:35 +02:00
Willi Goesgens 4e68920c0e Lintify. 2014-10-14 10:15:23 +02:00
Jan Steemann 7be268c07c changed AQL optimizer to not throw 2014-10-14 10:14:40 +02:00
Willi Goesgens 3e0e2c1084 Work around RUNNING / ECHILD troubles. 2014-10-14 09:15:11 +02:00
Willi Goesgens 8362986f42 One more correction to the list of nodes to be expected when having a LET in the statement. 2014-10-13 13:57:43 +02:00
Willi Goesgens 0b3ec972eb more places to fix the let-calculationnode gone away. 2014-10-13 11:44:16 +02:00
Jan Steemann 294d89c5e3 fixed illegal checkExternalProcess call 2014-10-13 11:34:21 +02:00
Willi Goesgens 9a3bcfce88 Adjust the tests expectation to the new way of not having an extra calculation node for let assignment (as introduced with #dd92042e0b1e66f767237692b7071e4bfc385b80 ) 2014-10-13 10:57:39 +02:00
Alan Plum 1ba13aca62 Clarified usage of bodyParams. 2014-10-11 18:49:19 +02:00
Jan Steemann ce8ac10f59 optimized memory usage of multi hash index 2014-10-11 18:38:22 +02:00
Jan Steemann 77ff3642c9 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-10-10 18:58:07 +02:00
Jan Steemann 23e692e7fa added FIND_FIRST, not yet documented 2014-10-10 18:57:57 +02:00
Willi Goesgens 3a7a03a51f Don't add intermediate calculationnodes for LET-statements to forward the results of subqueries. Instead adjust the outvariable of the subquerynode. 2014-10-10 17:00:49 +02:00
Michael Hackstein 5e1166e38c Removed debug output 2014-10-10 16:14:10 +02:00
Michael Hackstein 22955e25be Fixed repositioning of edge label #1017. 2014-10-10 15:34:13 +02:00
Michael Hackstein 267c48eeca Cluster Interface fixes for AWS. To be conntinued 2014-10-10 14:06:28 +02:00
Alan Plum 75ef83e747 Added crypto stub. 2014-10-10 12:37:27 +02:00
Heiko Kernbach 42f12d0ac6 Merge 2014-10-10 12:01:12 +02:00
Heiko Kernbach 144c8b43e1 fixed display bug when a notification title is too long, optimized css for notifications 2014-10-10 11:59:55 +02:00
Willi Goesgens 684604d8f6 Lintify testing.js 2014-10-10 11:47:08 +02:00
Willi Goesgens 73d121ece7 Add the possible error messages from waitpid to the result output. 2014-10-10 11:44:48 +02:00
Heiko Kernbach 8ea7a44bd3 fixed modal view not hiding after successful deletion of a collection 2014-10-10 11:13:03 +02:00
Jan Steemann 6553d463b7 added derived file 2014-10-10 10:38:12 +02:00
Heiko Kernbach e12d027273 fixed non valid javascript code, aaardvark is now using internal base64 decode function 2014-10-09 18:40:13 +02:00
Jan Steemann 7922d205e1 make make jslint not started multiple arangosh processes 2014-10-09 17:29:14 +02:00
Jan Steemann 3b52200983 fixed inner loop variable fuckup 2014-10-09 17:28:01 +02:00
Jan Steemann 71c41c9017 added style for collection status "loading" 2014-10-09 17:12:24 +02:00
Heiko Kernbach 637b1582b2 fixed unuseful format of data for request chart in the dashboard (frontend) 2014-10-09 14:50:09 +02:00
Willi Goesgens 330a4f5457 If the server goes away while testing skip subsequent tests, they will fail anyways. 2014-10-09 11:09:19 +02:00
James 084078f61f fixed tests for remove-unnecessary-remote-scatter and undistribute-remove-after-enum-coll, renamed distributeInCluster to scatterInCluster. 2014-10-09 08:45:34 +01:00
Jan Steemann b19db7e7e0 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-10-08 17:01:58 +02:00
Jan Steemann 8294e54f32 faster import 2014-10-08 17:01:45 +02:00
Willi Goesgens e433a2831e Add a new wrapper which does fork + waitpid in one js call, so we're closer to the flame and less eventually miss something. 2014-10-08 16:48:30 +02:00
Willi Goesgens e60e85686f executeAndWait: if we failed with fancy exit states run top -b -n1 to get some information on the overage system state while running the tests.
single_[client|server]: print detailed usage if the options aren't set.
2014-10-08 15:58:15 +02:00
Jan Steemann 0f59de2041 added recovery tests for rename 2014-10-08 15:22:36 +02:00
Jan Steemann ff80fafba5 fixed cached lookups of collections on the server, which may have caused spurious problems after collection rename operations 2014-10-08 14:59:02 +02:00
Willi Goesgens 42fd706204 Ignore SIG_USR1 as failed test status. 2014-10-07 18:12:14 +02:00
Willi Goesgens 526572a43f de-duplicate executeAndWait() from the ruby tests. 2014-10-07 17:02:41 +02:00
Jan Steemann 6975d50076 fixed parse error 2014-10-07 14:38:30 +02:00
Willi Goesgens 41e215ba0d Add count of how many tests failed to the summary. 2014-10-07 09:23:59 +02:00
Thomas Schmidts b528531187 Added note that by-example-hash is used internally. Fixed #984 2014-10-06 15:06:50 +02:00
Thomas Schmidts 53f38b5c0a AQL Graph Operations now have the right options. This fixes #1019 2014-10-06 14:23:36 +02:00
James 032e5d085e reset _initializeCursorOrShutdown in shutdown method, renaming test file. 2014-10-06 10:35:50 +01:00
James 5d9cfa75e4 bug fixes in last. 2014-10-04 15:25:54 +01:00
James 107068f20b adding aql-optimizer-rule-undistribute-remove-after-enum-coll.js 2014-10-04 15:21:20 +01:00
James 134947b838 cleaning up 2014-10-04 14:50:45 +01:00
James 63cd8fb102 more tests in remove-unnecessary-remote-scatter-cluster.js 2014-10-04 14:46:23 +01:00
James ca589d67dc more tests in remove-unnecessary-remote-scatter-cluster.js 2014-10-04 14:45:01 +01:00
Jan Steemann c69360235b added test 2014-10-03 01:24:58 +02:00
Jan Steemann a70856f21a added tests 2014-10-02 10:49:32 +02:00
Jan Steemann f49d2e9830 removed unused code 2014-10-01 13:01:04 +02:00
Jan Steemann 0948aaccd9 issue #693: fixed firstExample for `_from` and/or `_to` attributes 2014-10-01 12:20:52 +02:00
Jan Steemann ce9499eac8 less string copying, less regex slowdown when importing CSV files 2014-09-30 23:20:12 +02:00
Jan Steemann eb2e421c08 issue #1030: too big numeric values lead to arangoimp crashing on Windows 2014-09-30 17:25:54 +02:00
Jan Steemann f50f041bda Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
Conflicts:
	arangod/Aql/ExecutionEngine.cpp
	arangod/Aql/Query.cpp
2014-09-30 15:50:28 +02:00
James 9f210a2d46 adding short test for remove-unnecessary-remote-scatter. 2014-09-30 11:11:15 +01:00
Jan Steemann b7f649803b removed unused file 2014-09-30 11:05:40 +02:00
Willi Goesgens 97bc7e16cb Valgrind: also add plain text logfile, so you can choose which you like. 2014-09-30 09:52:43 +02:00
Jan Steemann 7c78bd1d61 added derived file 2014-09-29 14:41:33 +02:00
Jan Steemann c5c7957b5e manually merged pr #1029 by @baslr 2014-09-29 13:52:32 +02:00
Willi Goesgens c00c86229b Add the PID to the valgrind XML name 2014-09-29 09:52:05 +02:00
Jan Steemann 9e47f3ca27 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
Conflicts:
	arangod/Aql/ExecutionNode.h
2014-09-26 20:23:52 +02:00
Jan Steemann 1511d3b1c8 fixed API description 2014-09-26 16:44:41 +02:00
Max Neunhoeffer d2a9632710 Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel 2014-09-26 16:20:17 +02:00
Max Neunhoeffer 046d4f524d Implement getSome for RemoteBlock. 2014-09-26 16:19:25 +02:00
Willi Goesgens 93d32839ac differentiate between ABORT/TERMINATED/other 2014-09-26 15:53:22 +02:00
Willi Goesgens 504ae4328d be more verbose about the time & status of sub-processes. 2014-09-26 14:56:21 +02:00
Jan Steemann 2ddb342db3 fixed jslint warnings 2014-09-26 12:24:23 +02:00
Willi Goesgens ca1ccbab79 Try to match the jenkins grinder input tools csv grammer 2014-09-26 10:37:39 +02:00
Willi Goesgens cba6e480fe Don't add trailing \n to the CSV 2014-09-25 17:31:32 +02:00
Willi Goesgens fee451058d Remove the perf tests from the all target 2014-09-25 15:58:06 +02:00
Willi Goesgens 9a6c86583f More verbosely comment on the state of auth tests 2014-09-25 15:48:13 +02:00
Willi Goesgens 0a3877505c Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-09-25 14:50:07 +02:00
Willi Goesgens 6e00b45b50 Add a missing column to the CSV. 2014-09-25 14:49:48 +02:00
Max Neunhoeffer 3bf28e48da Fix typo. 2014-09-25 14:05:35 +02:00
Max Neunhoeffer 2542834607 Wait for WAL collector in a few more waitUnload.
This is necessary for some of the slower unittests (for example with
code coverage or valgrind).
2014-09-25 14:01:58 +02:00
Max Neunhoeffer 15954c23a7 Fix pretty printing. 2014-09-25 13:52:28 +02:00
Max Neunhoeffer d5d3694fb6 Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel 2014-09-25 13:50:13 +02:00
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 1663a18dee Rename the grinder csv log 2014-09-24 18:37:25 +02:00
Willi Goesgens c931a0b2d0 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-09-24 17:43:11 +02:00
Willi Goesgens 9e94af7fb1 Perf suite: Add grindertool alike CSV-Exporter 2014-09-24 17:42:54 +02:00
Jan Steemann d499edbcec Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-09-24 17:33:24 +02:00
Jan Steemann 792f5149dc adjusted return values 2014-09-24 17:33:17 +02:00
Willi Goesgens 74f669118a Adopt jasmine results into new report scheme on testsuite base 2014-09-24 17:30:40 +02:00
Jan Steemann f8655b29c5 changed return code 2014-09-24 17:20:38 +02:00
Jan Steemann dd53bc295a Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-09-24 17:14:50 +02:00
Jan Steemann d7c40a29e1 fixed tests 2014-09-24 17:14:44 +02:00
Jan Steemann 3da082fdc8 issue #1026: Modules loaded in different files within the same app should refer to the same module 2014-09-24 17:05:04 +02:00
Max Neunhoeffer 784a299ab8 Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel 2014-09-24 16:17:44 +02:00
Max Neunhoeffer cf5e1be91e Version version of HTTP API done. 2014-09-24 16:17:18 +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
Willi Goesgens 5b4209d95e Rearange the outputs of our tests so it matches the structure required by the unittest framework 2014-09-24 11:41:51 +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 ede622ea73 Merge branch 'aql2' of github.com:triAGENS/ArangoDB into aql2 2014-09-23 16:56:09 +02:00
Max Neunhoeffer 1f74a64b58 Implement POST for HTTP API for queries. 2014-09-23 16:51:03 +02:00
Willi Goesgens ca23f467ed Evaluate the correct return code here too. 2014-09-23 13:21:41 +02:00
Willi Goesgens 6a2a025313 Our test results are relevant. 2014-09-23 11:52:19 +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 968023aa46 Measure the time used per test. 2014-09-23 10:44:08 +02:00
Willi Goesgens 42647b01f7 Fix aggregation of overal test result state 2014-09-23 10:18:49 +02:00
Jan Steemann 009396f7b0 Merge branch 'aql2' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	arangod/V8Server/v8-wrapshapedjson.cpp
2014-09-23 08:35:32 +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
Jan Steemann d0639f584b fixed line number in stack traces to show the correct line 2014-09-22 20:53:21 +02:00
Willi Goesgens 03ca3431e1 Add more information to the unittest status xml 2014-09-22 17:10:06 +02:00
Willi Goesgens 772a99faec try another place to add our performance results in the xml. 2014-09-22 15:54:02 +02:00
Willi Goesgens fc5a14311c Add output formatter to intergrate with https://wiki.jenkins-ci.org/display/JENKINS/PerfPublisher+Plugin 2014-09-22 14:23:24 +02:00
Willi Goesgens d6fbebf723 Add the output of the aql execution bits in the results table so we can easily see which parts take how long. 2014-09-22 13:06:53 +02:00
Jan Steemann 6ab1ff472a Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2 2014-09-22 09:30:58 +02:00
Jan Steemann 07126d7e3b attempt to fix host test 2014-09-22 09:14:31 +02:00
Alan Plum 4aa876c70f Make RequestContextBuffer methods chainable. 2014-09-21 23:01:06 +02:00
Jan Steemann 74c9653f6f fixed range-info equality flag after fusing 2014-09-19 22:07:06 +02:00
Jan Steemann 767052e0fe jslint 2014-09-19 17:55:34 +02:00
Willi Goesgens 45cc45f827 Add profile information to the output of the new tests. 2014-09-19 17:53:00 +02:00
Willi Goesgens afc512a3b1 Add perf tests to executor script. 2014-09-19 16:30:31 +02:00
Willi Goesgens 51c61c7efb Finalize sort tests. 2014-09-19 16:29:48 +02:00
Jan Steemann 075e27a1ee fixed test 2014-09-19 12:24:00 +02:00
Jan Steemann 6dc9fb43d8 fixed test 2014-09-19 12:17:00 +02:00
Jan Steemann d03faffc53 remove subqueries that produce results that are not used in a query 2014-09-18 23:03:43 +02:00
Willi Goesgens 018f649316 Merge branch 'aql2' of github.com:triAGENS/ArangoDB into aql2 2014-09-18 18:19:44 +02:00
Willi Goesgens aaaf2b621f Start implementing performance test tools comparing new & old query engine 2014-09-18 18:19:05 +02:00
Jan Steemann c0a9d189c5 better error messages if mkdir fails 2014-09-18 17:48:05 +02:00
Jan Steemann 1016debd2e more robust recovery 2014-09-18 17:47:37 +02:00
Willi Goesgens e6fc39f15a Enable first tests for indexes using DESC 2014-09-17 16:28:57 +02:00
Willi Goesgens fd9499e68f Merge branch 'aql2' of github.com:triAGENS/ArangoDB into aql2 2014-09-17 14:37:21 +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
Max Neunhoeffer 3c675fee44 Merge branch 'aql2' of ssh://github.com/triAGENS/ArangoDB into aql2 2014-09-17 14:08:18 +02:00
Max Neunhoeffer 2cdc5f4cd7 Fix skiplistback-ung and usage in AQL. 2014-09-17 14:07:23 +02:00
Jan Steemann e5e2cfe4da Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	arangod/V8Server/v8-vocbase.cpp
2014-09-17 11:50:42 +02:00
Willi Goesgens f3d5974ae0 Implement tests for de/serialisation of insert/update/replace queries. 2014-09-17 11:05:50 +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 988a622b54 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-09-16 22:09:09 +02:00
Jan Steemann 2496616a89 listDatabases returns databases before the are initialized 2014-09-16 22:08:03 +02:00
Jan Steemann 3c0723e244 slight speedup for hash index 2014-09-16 19:46:24 +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
Jan Steemann 71e0d51ffe added bounds tests 2014-09-16 15:56:16 +02:00
Jan Steemann 992ac23450 fixed ranges 2014-09-16 15:48:33 +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
Jan Steemann 13fbd82e12 fixed test 2014-09-16 15:13:58 +02:00
Jan Steemann 83819407ba Merge branch 'aql2' of https://github.com/triAGENS/ArangoDB into aql2 2014-09-16 15:10:59 +02:00
Jan Steemann 54b5e7b034 slightly improved access to dynamic bounds 2014-09-16 15:10:43 +02:00
Alan Plum 0de1da4cc8 Adjusted tests to reflect corrected behaviour. 2014-09-16 14:58:24 +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
Willi Goesgens 96c9132f93 - Fix queries so they can actually be executed.
- add cross test for deserializing plans
2014-09-16 11:27:36 +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
Alan Plum c145ede1a2 Don't use applicationContext.collection for system apps. 2014-09-15 23:31:05 +02:00
Jan Steemann 677e681b23 adjusted test 2014-09-15 18:17:42 +02:00
Jan Steemann 69d0703a68 fixed teardown 2014-09-15 16:13:35 +02:00
Jan Steemann bc7c7c5c60 fixed construction of bounds from json 2014-09-15 16:11:59 +02:00
Jan Steemann 99683e3021 added test for dynamic bounds 2014-09-15 15:28:31 +02:00
Jan Steemann 481a16fd7a removed bitarray indexes 2014-09-15 14:19:38 +02:00
Willi Goesgens b5688131f5 Work on the sort unit tests 2014-09-15 12:52:32 +02:00
Jan Steemann 6fb48cdd0c fixed test expectation 2014-09-15 12:25:16 +02:00
Willi Goesgens 258cf9ee7d Fix the result analysis of the multi-plan cross tests 2014-09-15 10:57:26 +02:00
Jan Steemann 8f27ef531c Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	scripts/run
2014-09-15 09:51:04 +02:00
Alan Plum c34ff6130b Updated AQB. 2014-09-14 16:39:10 +02:00
Jan Steemann 34d2913002 added NOT IN operator, added keywords NOT, AND, OR 2014-09-14 01:34:58 +02:00
Jan Steemann ed7e5d0e67 allow primary key access via _id attribute, too 2014-09-14 00:46:44 +02:00
Jan Steemann 287a6f6b49 fixed errors reported by jslint 2014-09-14 00:09:09 +02:00
Jan Steemann 4e6f6f2cbd finalized move to cxx 2014-09-14 00:06:00 +02:00
Jan Steemann aaf4fd87af fixed test 2014-09-13 02:58:34 +02:00
Jan Steemann 26a24bf5a2 adjusted tests 2014-09-12 17:18:36 +02:00
Jan Steemann 76c1da4e9c added test for remove-redundant-calculations 2014-09-12 16:58:01 +02:00
Willi Goesgens 3e502b672d Test execute all optimizer generaten variations of the plans and compare all their results. Don't do this with Queries which we know that they will fail. 2014-09-12 14:48:18 +02:00
Willi Goesgens ea6ab2510e getQueryMultiplePlansAndExecutions: add optional debug facility which does trace output. 2014-09-12 14:36:55 +02:00
Willi Goesgens d2a5ad91f3 Adjust the access to the IndexRangeNodes ranges to respect the two dimmensional list. 2014-09-12 11:16:25 +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
Willi Goesgens dfae2d92c5 Fix indention 2014-09-12 09:49:38 +02:00
Jan Steemann 5f4c27f311 added test 2014-09-12 09:07:34 +02:00
Jan Steemann 0b018d26cf Merge branch 'aql2' of https://github.com/triAGENS/ArangoDB into aql2 2014-09-11 18:19:14 +02:00
Jan Steemann 2767bdc7e0 use edge index on both _from and _to 2014-09-11 18:19:05 +02:00
Willi Goesgens 2a6a6fd132 work on test which inspects all optimizer passes by executing them via the AQL_EXECUTEJSON interface 2014-09-11 18:00:47 +02:00
Jan Steemann 7a2774b822 Merge branch 'aql2' of https://github.com/triAGENS/ArangoDB into aql2 2014-09-11 15:50:56 +02:00
Jan Steemann d4cb250d4a fixed tests 2014-09-11 15:50:50 +02:00
Max Neunhoeffer a532544a9f Fix test for new IndexRange behaviour. 2014-09-11 14:48:41 +02:00
Max Neunhoeffer aa00df7edf Merge branch 'aql2' of ssh://github.com/triAGENS/ArangoDB into mmh
Conflicts:
	arangod/Aql/ExecutionBlock.cpp
	arangod/Aql/Query.h
2014-09-11 14:31:13 +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
Jan Steemann 318921de00 Merge branch 'aql2' of https://github.com/triAGENS/ArangoDB into aql2 2014-09-11 13:36:23 +02:00
Jan Steemann 19ab100576 added range test 2014-09-11 13:36:16 +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
Willi Goesgens f8b681a5f8 re-enable test; its working now. 2014-09-11 11:31:49 +02:00
Jan Steemann cb4c60a36f explain tests 2014-09-11 09:54:59 +02:00
Max Neunhoeffer 7b8cc04d90 Merge branch 'aql2' of ssh://github.com/triAGENS/ArangoDB into mmh 2014-09-10 16:10:32 +02:00
Jan Steemann 3487d7c9ba added derived file 2014-09-10 15:56:02 +02:00
Jan Steemann c034307dca Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	arangod/Utils/CollectionNameResolver.h
2014-09-10 15:54:49 +02:00
Michael Hackstein 03cf0d69fb Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-09-10 15:50:28 +02:00
Michael Hackstein 9b62c7367b Deprecated _directedRelation and _undirectedRelation in general-graphs. Created _relation in general-graphs creating a _directedRelation. Handling undirected relations is now given to the user / api-implementor as arangodb itself does not offer any direction constrains which caused some confusion 2014-09-10 15:50:22 +02:00
Max Neunhoeffer 8bb938b6de Merge branch 'aql2' of ssh://github.com/triAGENS/ArangoDB into mmh 2014-09-10 15:21:00 +02:00
Max Neunhoeffer 69c464ef13 Restructure RangesInfo handling to allow for variable ranges. 2014-09-10 15:20:28 +02:00
Jan Steemann 8c9436a92b attempt to shield test from other influences 2014-09-10 15:01:50 +02:00
Jan Steemann 1907d8bb05 added optimizer rule test 2014-09-10 14:35:18 +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
Willi Goesgens 74248e64f0 Finalize the remove unnecessary calculation tests. 2014-09-10 13:58:53 +02:00
Jan Steemann 7d74347590 issue #1016: AQL editor bug 2014-09-10 13:39:10 +02:00
Michael Hackstein d6d16f0643 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-09-10 13:19:27 +02:00
Max Neunhoeffer 5552d21711 Merge branch 'aql2' of ssh://github.com/triAGENS/ArangoDB into mmh 2014-09-10 12:15:00 +02:00
Jan Steemann c05d844626 fixed test assertion 2014-09-10 12:08:25 +02:00
Jan Steemann f824474503 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2 2014-09-10 12:00:10 +02:00