1
0
Fork 0
Commit Graph

2266 Commits

Author SHA1 Message Date
Jan Steemann f87005ae0b attempt to make test more deterministic 2014-10-24 13:18:48 +02:00
Jan Steemann a3c05ccf3a attempt to make test more deterministic 2014-10-24 10:37:01 +02:00
Willi Goesgens 5158edd25d If tests fail, skip cleaning up of working directories. 2014-10-23 17:58:04 +02:00
Jan Steemann 3dc2f9b299 fixed test 2014-10-22 16:30:06 +02:00
Jan Steemann 5d178b7220 fixed test 2014-10-22 13:37:48 +02:00
James 2496a8dc3e fixing GatherBlock tests. 2014-10-21 17:04:49 +01:00
Alan Plum 2747bf8b04 Wrap non-Joi objects as Joi schemas. 2014-10-21 17:20:34 +02:00
Alan Plum 233f21662a Whitespace. 2014-10-21 17:10:51 +02:00
Alan Plum db323869f4 Fixed Foxx RequestContext::errorResponse for strings. 2014-10-21 17:10:50 +02:00
Jan Steemann 5d1986aafb fixed test 2014-10-21 14:50:37 +02:00
Jan Steemann 97a4355c4e fixed tests 2014-10-21 13:45:46 +02:00
Jan Steemann 6e7ed4c4d4 fixed tests 2014-10-21 13:01:24 +02:00
Jan Steemann c91355831b Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-10-21 12:50:37 +02:00
Jan Steemann 2617f3879c fixed primary index usage in cluster 2014-10-21 12:50:06 +02:00
Frank Celler 6def59d804 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-10-21 12:28:45 +02:00
Frank Celler a7d93abe43 fixed requireApp in development mode 2014-10-21 12:28:33 +02:00
Jan Steemann 4e4550aa11 fixed tests 2014-10-21 12:09:58 +02:00
Jan Steemann 6883651c3c fixed usage of indexes in cluster 2014-10-21 11:53:24 +02:00
Jan Steemann 8b7da8aacb the great rename 2014-10-21 00:38:53 +02:00
Jan Steemann 8af715e9b1 removed unused function 2014-10-20 22:30:39 +02:00
Michael Hackstein c179978980 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-10-20 12:42:21 +02:00
Michael Hackstein 55f2d57fb4 Reunified ahuacatl-general-graph and aql-general-graph. Fixed JSLint in aql 2014-10-20 12:42:17 +02:00
Willi Goesgens 506eb1113a Fix status message - non/cluster has to be flipped. 2014-10-20 12:05:32 +02:00
Michael Hackstein 501c4c2c84 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-10-20 11:47:06 +02:00
Michael Hackstein 0df20e734f Moved general-graph changes from ahuacatl to aql 2014-10-20 11:45:51 +02:00
Frank Celler a3892fb672 fixed collection prefix for users and sessions 2014-10-20 10:59:54 +02:00
Frank Celler 13a45f56f5 removed superfluous test, because of possible race condition 2014-10-20 10:34:58 +02:00
Jan Steemann 5c1d01068a log a warning if an AQL user functions throws an exception 2014-10-20 10:00:41 +02:00
Michael Hackstein 0313c74b66 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-10-20 09:36:39 +02:00
Michael Hackstein cfd284955d Documentation fix of GRAPH_NEIGHBORS vertex restriction. 2014-10-19 21:04:58 +02:00
James 82b38b022d tests for gather block 2014-10-18 17:08:19 +01:00
James 282341b2d9 more tests for distribute-in-cluster 2014-10-18 15:47:32 +01:00
Jan Steemann 19502fee8e fixed some tests 2014-10-17 18:50:00 +02:00
Michael Hackstein f6e16315de Fixed a bug and a conceptional misunderstanding in GRAPH_NEIGHBORS 2014-10-17 16:56:05 +02:00
Max Neunhoeffer 7cade2a727 Fix alive check in unittests for cluster. 2014-10-17 16:09:58 +02:00
James 380b118f11 more tests for distribute-in-cluster. 2014-10-17 11:26:23 +01:00
Jan Steemann 9ba259af97 fixed failing tests 2014-10-16 18:21:13 +02:00
Jan Steemann 9311d74abc fixed failing tests 2014-10-16 18:19:32 +02:00
Jan Steemann a6b237b06e whitespace 2014-10-16 17:41:50 +02:00
Willi Goesgens 9e01c41c2a - List the right available test cases for single client/server
- use our runInArangosh function instead of copying the code
 - only start an arangod if we know that we will try to run a test.
2014-10-16 12:10:34 +02:00
Willi Goesgens a3bb132fb1 Handle SIG11, keep a copy of arangod for later coredump analysis. 2014-10-16 11:24:15 +02:00
Willi Goesgens 4f7592a5da streamline output
- adjust testnames to match the real function names
  - only output the server on prelemitary exit once.
2014-10-16 10:35:51 +02:00
Michael Hackstein 5da5bf112a Improved Graph AQL query tests. Some tests are missing. 2014-10-16 09:21:11 +02:00
Jan Steemann ecf460b378 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-10-16 02:06:29 +02:00
Jan Steemann 688e8ebbc1 better support for handling multipart requests 2014-10-16 02:05:57 +02:00
Frank Celler b38bc5afc1 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-10-15 22:23:33 +02:00
Frank Celler 3296f9ac30 removed superfluous enableStatistics for queue manager 2014-10-15 22:23:27 +02:00
Jan Steemann 5fa14b2fda jslint 2014-10-15 20:40:08 +02:00
Jan Steemann 537d0e5e55 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-10-15 17:43:46 +02:00
Jan Steemann 739253b44e updated docs 2014-10-15 17:43:35 +02:00
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
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
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 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 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
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
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
Willi Goesgens 42fd706204 Ignore SIG_USR1 as failed test status. 2014-10-07 18:12:14 +02:00