1
0
Fork 0
Commit Graph

1703 Commits

Author SHA1 Message Date
Jan Steemann a19c437cdd jslint 2016-05-03 12:04:13 +02:00
Michael Hackstein 1e9b3a7762 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-05-02 17:31:05 +02:00
Kaveh Vahedipour 00ce93b8d0 Merge branch 'devel' of https://github.com/arangodb/arangodb into json_agency_comm 2016-05-02 16:14:37 +02:00
Alan Plum 53dc168a71
Linting 2016-05-02 14:42:10 +02:00
Alan Plum f81c946fd7
app -> service 2016-05-02 14:42:08 +02:00
Jan Steemann 2b0f3f7b57 change behavior of arithmetic operators, TO_STRING and TO_NUMBER 2016-05-02 13:29:29 +02:00
Michael Hackstein 80bb9aeff4 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-05-02 09:32:22 +02:00
jsteemann c7490a211c added fail() to tests 2016-05-01 14:46:59 +02:00
Michael Hackstein ddc7b2ca98 Further tests for AQL externals 2016-04-29 17:39:43 +02:00
Michael Hackstein 0ca6452bab Started to add some tests for VPack externals in AQL. 2016-04-29 17:30:50 +02:00
Kaveh Vahedipour 86959d83a6 Merge branch 'devel' of https://github.com/arangodb/arangodb into json_agency_comm 2016-04-29 16:29:05 +02:00
jsteemann 6ac4c809ee do not create markers on the heap, but create them in the WAL space directly 2016-04-29 01:01:10 +02:00
Kaveh Vahedipour e81e3e51e0 javascript side of jsonified agency 2016-04-28 15:15:55 +02:00
Jan Steemann cdc9b8e774 re-active test 2016-04-28 13:47:28 +02:00
jsteemann cd45a52ba5 attempt to finish startup order 2016-04-27 22:54:29 +02:00
Michael Hackstein c1191d4268 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-04-26 14:50:28 +02:00
jsteemann d21cdb50ad speed up transactions 2016-04-26 11:58:10 +02:00
Michael Hackstein bd302a023c Reduced the nesting level of arrays in AQL test. Icannot be executed on MacOs and asan 2016-04-26 11:50:19 +02:00
jsteemann 021183f14e added tests 2016-04-26 10:23:47 +02:00
Max Neunhoeffer 877e42e7c5 Merge branch 'FMH' into devel 2016-04-21 14:04:39 +02:00
Jan Steemann 5027d7fe1f documentation for LIKE 2016-04-21 12:46:42 +02:00
Alan Plum 996c4568fb
Fix shell-foxx-swager-spec.js 2016-04-21 10:10:11 +02:00
Simran Brucherseifer a5ad9f33a9 Minor corrections
Excluded Aardvark, the graph viewer in particular
2016-04-20 22:09:00 +02:00
Alan Plum 2b0c1f6f9a
_.extend -> Object.assign 2016-04-20 15:23:03 +02:00
Kaveh Vahedipour d53e47c7d5 Merge branch 'devel' of https://github.com/arangodb/arangodb into FMH 2016-04-20 11:23:10 +00:00
jsteemann 9d258f47e0 added test case 2016-04-20 12:26:07 +02:00
jsteemann e390da31c1 speed up test 2016-04-20 10:27:06 +02:00
Frank Celler 3bb24146a6 Merge branch 'devel' of github.com:arangodb/arangodb into FMH 2016-04-19 19:18:02 -07:00
Jan Steemann 2533affb02 fixed crash 2016-04-19 15:38:30 +02:00
Frank Celler 007fe8e053 Merge branch 'devel' of https://github.com/arangodb/arangodb into FMH
Conflicts:
	arangod/Agency/Constituent.cpp
	arangod/Agency/RestAgencyHandler.cpp
	arangod/Aql/Query.cpp
	arangod/Aql/grammar.cpp
	arangod/RestHandler/RestSimpleQueryHandler.cpp
	arangod/RestServer/ArangoServer.cpp
	js/client/modules/@arangodb/testing.js
2016-04-19 07:44:00 +02:00
Alan Plum 051a153252
@arangodb/foxx -> @arangodb/foxx/legacy 2016-04-18 18:01:08 +02:00
Alan Plum c55eeac990
Fix FM nightly test 2016-04-18 18:01:07 +02:00
Alan Plum 9cf8d347ad
More SyntheticResponse tests 2016-04-18 18:00:38 +02:00
Alan Plum 21a1720d86
Add SyntheticResponse tests 2016-04-18 18:00:37 +02:00
Alan Plum 18ff55b7dd
Add SyntheticRequest tests 2016-04-18 18:00:37 +02:00
Alan Plum 2993b73c25
More SyntheticRequest tests 2016-04-18 18:00:37 +02:00
Alan Plum 4ef87a2aef
Add shell-foxx-response-spec.js 2016-04-18 18:00:37 +02:00
Alan Plum 2da95acee2
Add shell-foxx-request-spec.js 2016-04-18 18:00:36 +02:00
Alan Plum ca6bb83a84
More tests 2016-04-18 18:00:35 +02:00
Alan Plum 5b4b3852ad
Better default 200 response 2016-04-18 18:00:34 +02:00
Alan Plum a31bf33892
Basic swagger tests 2016-04-18 18:00:33 +02:00
Alan Plum fddc35df67
mv shell-foxx-router-spec to shell tests 2016-04-18 18:00:32 +02:00
Alan Plum 8d2cc4041d
Implement request/response body handling 2016-04-18 18:00:29 +02:00
Alan Plum a5ffbcf736
Add stub tests for swagger 2016-04-18 18:00:29 +02:00
Alan Plum a00ac0d96f
Swaggerify route params 2016-04-18 18:00:26 +02:00
Alan Plum 04f59fcdb4
shell-foxx-router-spec to mocha 2016-04-18 18:00:26 +02:00
Alan Plum ff0bf1a182
Add basic swagger generator stub 2016-04-18 18:00:26 +02:00
Alan Plum 314d19d20d
Extract router tree 2016-04-18 18:00:24 +02:00
Alan Plum aa4b41763e
Yakshaving
Naming things is hard.
2016-04-18 18:00:22 +02:00
Alan Plum 322c9c41b8
Lint shell-foxx-router-spec.js 2016-04-18 18:00:22 +02:00
Alan Plum 4b0fd593ce
Implement rudimentary route handling 2016-04-18 18:00:22 +02:00
Alan Plum 8230d73406
More versatile route lookup 2016-04-18 18:00:21 +02:00
Alan Plum 6e6a9a3918
Add more tests & fix middleware resolution 2016-04-18 18:00:21 +02:00
Alan Plum e78e6476ab
Implement routing logic for router 2016-04-18 18:00:20 +02:00
Alan Plum 54fb1a73d8
foxx -> foxx/legacy 2016-04-18 18:00:19 +02:00
Alan Plum 5161c63670
Remove magical Foxx comments 2016-04-18 18:00:18 +02:00
Alan Plum eacf570a39
applicationContext -> module.context 2016-04-18 18:00:17 +02:00
Jan Steemann e14fd29339 fixed cluster test 2016-04-18 17:04:03 +02:00
Jan Steemann a3ad9ba3a3 fixed issue #1805 2016-04-18 15:09:42 +02:00
jsteemann 30ec73e596 AQL bugfixes and tests, CHANGELOG updates 2016-04-17 20:57:13 +02:00
jsteemann 2294a4287c added tests 2016-04-17 11:31:45 +02:00
jsteemann 1ca9606bbc added tests 2016-04-17 11:21:07 +02:00
jsteemann 43f040b3c5 added test cases 2016-04-17 11:04:46 +02:00
Frank Celler e298ac9881 Merge branch 'devel' of github.com:arangodb/arangodb into FMH 2016-04-15 21:05:52 -07:00
Frank Celler cd91d3654e Merge remote-tracking branch 'origin' into FMH 2016-04-15 19:01:38 -07:00
jsteemann 18f54c2dde Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-04-15 17:21:35 +02:00
jsteemann ecd7de16cb added optimizer rule "inline-subqueries" 2016-04-15 17:21:22 +02:00
Jan Steemann 65e6aed49f jslint 2016-04-15 12:40:14 +02:00
Frank Celler 8254bd4bd6 WIP 2016-04-14 21:32:12 -07:00
Max Neunhoeffer e68a60f81f Remove a test that is no longer needed. 2016-04-15 00:39:55 +02:00
Max Neunhoeffer 429e59108b Improve situation with tests. 2016-04-15 00:13:37 +02:00
Jan Steemann 576fcab12b Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-04-13 16:29:26 +02:00
Jan Steemann a0fde1b7b2 allow array values in attribute name bind parameters 2016-04-13 16:29:09 +02:00
Michael Hackstein 1352e3d682 Fixed JSLINT 2016-04-13 15:57:49 +02:00
Michael Hackstein b043b103e0 Optimized IN in AQL pattern Matcher properly. Also added some tests for it 2016-04-13 14:49:21 +02:00
Jan Steemann 9163236f2b renamed optimizer rule "merge-traversal-filter" into "optimize-traversals" 2016-04-12 14:51:15 +02:00
Simran Brucherseifer 5905465c26 Add unit tests for TO_BOOL() and unary not with a whole document 2016-04-09 01:55:00 +02:00
Jan Steemann c2749b850f fixed tests 2016-04-07 17:48:51 +02:00
Jan Steemann 6df7221691 cleanup 2016-04-07 17:08:44 +02:00
Jan Steemann 32c0c91926 fixed tests 2016-04-07 17:01:45 +02:00
Michael Hackstein 1b967d9535 Started fixing AQL-failures-noncluster tests. Still two are failing. Return and Sort. 2016-04-07 14:37:18 +02:00
Jan Steemann b5b1fd705c removed obsolete tests 2016-04-06 17:48:11 +02:00
Jan Steemann 9f8c24b1cd Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk 2016-04-06 15:43:27 +02:00
Jan Steemann 18204c57e8 fixed replication tests 2016-04-06 09:41:31 +02:00
Andreas Streichardt c2cf4be4e0 Remove etcd 2016-04-05 18:41:37 +02:00
Jan Steemann d0f368445a replication fixes 2016-04-05 18:32:09 +02:00
Michael Hackstein dc58c5d769 Fixed Modify edges in cluster test. Expected old return codes 2016-04-04 18:41:28 +02:00
Frank Celler 119c1bd44b Merge branch 'devel' of github.com:arangodb/arangodb into spdvpk 2016-03-31 09:31:32 +02:00
Alan Plum 963fa8f9ff Port #1742 test to 3.0 2016-03-30 16:14:17 +02:00
Jan Steemann 5166dc72d2 jslint 2016-03-24 19:32:31 +01:00
Jan Steemann d9c5877054 test fixes 2016-03-24 19:25:25 +01:00
Michael Hackstein 28a0fd89a8 Removed tests of removed functions BY_EXAMPLE_SKIPLIST / BY_EXAMPLE_HASH 2016-03-24 16:54:19 +01:00
Michael Hackstein 5b3f81b8d5 Fixed test that expected leftover shapes and markers. They can be removed now 2016-03-24 16:46:07 +01:00
Michael Hackstein 9af0a529fa Changed expectation for error message when storing RegExp and Function. Is BAD PARAMETER now, was SHAPER_FAILED. 2016-03-24 15:57:02 +01:00
Michael Hackstein db4b6d2a5b Merge branch 'spdvpk' of github.com:arangodb/arangodb into spdvpk 2016-03-24 15:48:50 +01:00
Michael Hackstein 5b5bf7cad8 Removed tests for byConditionSkiplist. Not supported any more 2016-03-24 15:48:18 +01:00
Michael Hackstein 9371e04a63 Removed tests for CAP constraints and FIRST. Which do not exist any more. 2016-03-24 15:43:59 +01:00
Jan Steemann b9b78aa0d7 fixed test 2016-03-24 15:41:10 +01:00
Michael Hackstein 0d623b58bb Reverted ordering chance in Object sort function. 2016-03-24 13:18:55 +01:00
Michael Hackstein 6a59de8efc Fixed ordering of elements. Internal sort on in-place created documentes behaves a little bit different now 2016-03-24 12:47:48 +01:00
jsteemann b7c1a42f96 test fixes 2016-03-24 01:12:57 +01:00
jsteemann 72a86bccfd removed cap constraints 2016-03-23 23:48:37 +01:00
Jan Steemann 9ac39b7ad6 Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk 2016-03-23 16:36:30 +01:00
Michael Hackstein 2d45a6e5b2 Fixed statistics for Traversals. Also uses less lookups now 2016-03-23 16:04:53 +01:00
Michael Hackstein 42b866804f Fixed test that relied on a non deterministic ordering 2016-03-23 12:45:40 +01:00
Michael Hackstein 9bd35dcb63 Fixed tests for errors in AQL Edges function. It is more relaxed for input parameters. It does not THROW but simply returns an empty array instead 2016-03-23 12:17:59 +01:00
Michael Hackstein 46f4d627e6 Added some tests for Traversals in subqueries 2016-03-23 11:03:54 +01:00
Michael Hackstein 8dfaf023fc The test for EDGES now does not expect 'CollectionNotFound' if the start vertex collection does not exist. 2016-03-22 09:54:45 +01:00
Jan Steemann b672ce0985 test fixes 2016-03-21 12:15:40 +01:00
Jan Steemann f17d17841f Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk 2016-03-21 09:28:35 +01:00
jsteemann 5ded90ed1c fixed compare function for Custom attributes 2016-03-18 13:55:36 +01:00
jsteemann 9209794f36 removed print 2016-03-17 23:08:00 +01:00
jsteemann 7b5b0de86d fixed test 2016-03-17 23:06:57 +01:00
Frank Celler f28f20883a cosmetics 2016-03-16 22:16:56 +01:00
Jan Steemann ba637faea0 do not compare execution times 2016-03-07 11:33:20 +01:00
Jan Steemann af367a3e13 fixed range optimizations 2016-02-24 17:43:17 +01:00
Jan Steemann bc6283fc91 added WITH collections declarative 2016-02-19 18:20:46 +01:00
Michael Hackstein 7388345f87 Fixed JSLINT 2016-02-16 15:18:40 +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 687f7fdd72 higher wait intervall 2016-02-14 15:34:03 +01:00
Jan Steemann 797fff14c2 fixed issue #1722 2016-02-12 09:45:32 +01:00
Jan Steemann f59cda9151 jslint 2016-02-11 09:18:45 +01:00
jsteemann bee34da616 make replace-or-with-in rule fire in more cases 2016-02-10 23:07:24 +01:00
Jan Steemann 23dfbeee46 optionally restrict logger-follow to a single collection 2016-02-10 16:49:22 +01:00
Jan Steemann 85315ce9db added quantifiers test 2016-02-10 15:20:41 +01:00
Jan Steemann fc9a28e4bc remove invalid test 2016-02-10 14:48:13 +01:00
Jan Steemann 0f0154bb54 added test for condition collapsing 2016-02-10 14:30:40 +01:00
Jan Steemann 5ba2432d78 remove sort in more cases 2016-02-10 11:23:11 +01:00
Alan Plum 950234aaff Recreate missing test from 2.7 2016-02-09 16:50:46 +01:00
Alan Plum 7dbc89d7be Actually register static Foxx model events
Fixes #1665.
2016-02-09 16:50:45 +01:00
Jan Steemann c408691e60 make drop never fail 2016-02-09 11:42:21 +01:00
Jan Steemann 39c3d3d2a2 wait until applier has started 2016-02-09 10:54:37 +01:00
Frank Celler 8a9ac0f372 added duration 2016-02-08 23:38:41 +01:00
Jan Steemann f552d61f26 added test 2016-02-08 12:00:21 +01:00
Jan Steemann 993cf0b0b8 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-02-07 19:48:04 +01:00
Jan Steemann 42c4bdbebb ported from 2.8 2016-02-07 19:47:37 +01:00
Frank Celler 59cbebc870 added stress test for killing 2016-02-07 19:35:37 +01:00
Frank Celler 35408594ed fixed jslint 2016-02-07 14:33:12 +01:00
Frank Celler f85f18bd78 moved tests to testing.js 2016-02-07 13:46:34 +01:00
jsteemann a5c23fe0fe fix parsing forward ticks, fix line numbers in some error messages 2016-02-06 12:32:14 +01:00
Michael Hackstein 84b1f9055d Further implementation of VPackAqlValue functions. This included VALUES and ATTRIBUTES. These functions by accident had an ordering in TRI_json_t which they do not have any more in VelocyPack. Clarified Documentation. 2016-02-04 13:49:59 +01:00
Michael Hackstein 0c11b2f759 Use precision to validate numeric result in ABS 2016-02-03 14:51:46 +01:00
Michael Hackstein 6315ec26a5 Merge branch 'devel' of github.com:arangodb/arangodb into vpack 2016-02-03 10:48:27 +01:00
Michael Hackstein 92c69d2039 Implemented To_Array for VPack 2016-02-02 15:37:05 +01:00
Michael Hackstein f4eae755d6 Moved more tests in aql-operators. 2016-02-02 13:52:10 +01:00
Michael Hackstein 964fbdaabd Started moving tests in aql-operators to use AQL instead of directly using the JS-AQL module. Now they also cover Cxx implementation and AQL parser 2016-02-02 13:28:21 +01:00
Jan Steemann 94ffc16e15 always clean up 2016-02-02 13:08:01 +01:00
Frank Celler ce34f2e50e fixed typo in name 2016-02-02 00:27:32 +01:00
Frank Celler fea9631a9e show progress 2016-02-02 00:13:04 +01:00
Frank Celler b80f9d3bb7 wait longer for server start 2016-02-02 00:03:52 +01:00
Frank Celler 75d5cabcaf fixed error handling 2016-02-01 23:54:26 +01:00
Frank Celler 3154338863 throw in case of error 2016-02-01 12:30:10 +01:00
Frank Celler aa5ffcbccc added logscale 2016-02-01 12:30:10 +01:00
Frank Celler 3b957b9e99 added deadlock test 2016-01-31 22:44:34 +01:00
Andreas Streichardt 8928806a21 Fix lint 2016-01-29 13:02:42 +01:00
Michael Hackstein 651e705ebd Introduced a new EMPTY_GRAPH error which is thrown during AQL execitions whenever the graph has no edge collections. 2016-01-28 18:07:26 +01:00
Michael Hackstein 847463f968 Fixed JSLintQ 2016-01-28 17:29:29 +01:00
Michael Hackstein c04e4f1ca7 Added a test for Multi Direction traversals 2016-01-28 16:40:58 +01:00
Wilfried Goesgens 8a00e2f89a fix lint. 2016-01-27 19:33:16 +01:00
Jan Steemann 2b57652880 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-01-27 19:29:13 +01:00
Jan Steemann de52abbf83 added AQL function `IS_SAME_COLLECTION` 2016-01-27 19:29:01 +01:00
Wilfried Goesgens e1a8726606 Don't optimize the traverser if there are functions on the traversal attribute side; this fixes #1684 2016-01-27 19:21:17 +01:00
Jan Steemann 585208afcf changed directory name pattern for collections 2016-01-27 18:53:16 +01:00
Jan Steemann b6e9cee7e2 fixed tests 2016-01-26 16:44:07 +01:00
Frank Celler 0e0b985289 added missing counter incremenet 2016-01-25 18:33:38 +01:00
Wilfried Goesgens 7e791d2a44 Add possibility to skip tests which tend to be non deterministic for release processes. 2016-01-25 18:07:25 +01:00
Michael Hackstein 09c9bdcd23 Merge branch 'devel' of github.com:arangodb/arangodb into vpack 2016-01-25 15:40:20 +01:00
Michael Hackstein f517247335 Fixed hash-index failure test. No checks for OOM correctly 2016-01-25 15:16:47 +01:00
Frank Celler 3e60f87294 fixed external call to gnuplot 2016-01-25 15:11:45 +01:00
Frank Celler 2d47553f73 fixed wrong variable 2016-01-25 15:07:48 +01:00
Frank Celler dd76a3d162 added crud test 2016-01-25 14:48:04 +01:00
Andreas Streichardt a9b7c0ed83 Add stresstest to devel 2016-01-25 11:46:04 +01:00
Frank Celler 732fb58f86 moved into sub-directories 2016-01-24 13:16:05 +01:00
Frank Celler c2a3f90fde moved tests into sub-directories 2016-01-24 12:21:04 +01:00
Wilfried Goesgens 7e2e1b2082 Lintify 2016-01-22 13:42:03 +01:00
Wilfried Goesgens b8a83578d2 - rename variables to match V ertex, E dge, P ath
- add tests that wrap the graph operations into more obscure quries.
2016-01-22 13:13:58 +01:00
Wilfried Goesgens 7c9ac9c5b8 Migrate jasmine->mocha 2016-01-21 14:24:01 +01:00
Jan Steemann 61f868c9f6 jslint 2016-01-18 18:26:54 +01:00
Jan Steemann a3d93e8a1d jslint 2016-01-18 18:24:48 +01:00
Michael Hackstein cfdbc50e72 Fixed typo in tests 2016-01-18 17:40:12 +01:00
Michael Hackstein e291775ff3 Added tests for filtering over a list of potantially Invalid values with some corect ones in between. Tested for all indexes. 2016-01-18 17:39:57 +01:00
jsteemann 03c4a4fb23 renamed optimizer rule for collect optimization 2016-01-17 00:07:13 +01:00
jsteemann 4abf96e1db removed special case for COLLECT INTO var = expr 2016-01-16 20:20:44 +01:00
Michael Hackstein df4ec3fab2 Fixed function 'teardrop' 2016-01-16 15:17:41 +01:00
Jan Steemann 6d8f9c1b25 added more compaction tests 2016-01-13 15:24:56 +01:00
Jan Steemann c577b8616e allow killing of Collect operations 2016-01-13 13:47:46 +01:00
jsteemann a88070d7be added test cases 2016-01-13 11:24:52 +01:00
jsteemann 59a8cd13dc more aggregate functions 2016-01-13 01:36:50 +01:00
Alan Plum b11c74bd12 shell-foxx-repository-spec to mocha 2016-01-12 18:49:28 +01:00
Alan Plum 46c186b3df shell-foxx-query-spec to mocha 2016-01-12 18:49:27 +01:00
Jan Steemann 6937dbc489 aggregate fixes 2016-01-12 17:21:18 +01:00
Alan Plum c4c8418b6d Add support for mocha in built-in test runner 2016-01-11 20:00:56 +01:00
Jan Steemann 8390793699 moved docu blocks into their own files 2016-01-07 16:39:19 +01:00
Jan Steemann 1e6a07426c collect refactoring 2016-01-07 14:10:32 +01:00
Jan Steemann ad1163e3bb refactoring for Aql COLLECT 2016-01-07 13:35:12 +01:00
Jan Steemann a15c18572f fixed test, added more tests 2016-01-04 19:33:18 +01:00
Alan Plum de9ae5128a underscore -> lodash 2015-12-23 23:30:55 +01:00
Jan Steemann 8781c2d05d added tests 2015-12-23 14:38:48 +01:00
Max Neunhoeffer 9796661ede Make entropy test less sensitive. 2015-12-23 14:12:57 +01:00
Jan Steemann 887e93babc index handling fixes 2015-12-23 14:01:14 +01:00