1
0
Fork 0
Commit Graph

565 Commits

Author SHA1 Message Date
Frank Celler de71768bd0 fixed timeouts 2016-10-19 13:21:26 +00:00
Andreas Streichardt ad2327022e Merge remote-tracking branch 'origin/devel' into authentication 2016-10-17 13:51:26 +02:00
Andreas Streichardt 1318fa313b Implement cluster authentication 2016-10-17 13:35:55 +02:00
Wilfried Goesgens 960f0a0522 Forward arguments 2016-10-13 17:26:39 +02:00
Wilfried Goesgens 9ccbe286c8 don't wrap lines here 2016-10-13 16:00:06 +02:00
Wilfried Goesgens 3ca941fc37 Automate mac build
- DRY for prefixes, directories etc.
- possibility to provide build.sh with the prefix
2016-10-13 15:35:55 +02:00
Simon Grätzer 2becfb4a8c Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-10-12 14:01:48 +02:00
Wilfried Goesgens 58210e673a disable optimizations for package builds to least common denominator. 2016-10-12 12:00:14 +02:00
Frank Celler 2d835c2881 added different build paths 2016-10-09 13:40:28 +02:00
Simon Grätzer 1b351ba138 Further improvements 2016-10-08 00:56:24 +02:00
Simon Grätzer 742450f948 Some more fixes 2016-10-07 16:22:38 +02:00
Frank Celler 8ac7ecfe94 added missing path 2016-10-06 15:52:02 +02:00
Kaveh Vahedipour 934313ab7f Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-09-30 08:50:37 +02:00
Kaveh Vahedipour 317342ee2e XTERMOPTIONS not XTERM_OPTIONS 2016-09-30 08:50:32 +02:00
Max Neunhoeffer cad0b3d3e2 Fix startLocalCluster.sh script w.r.t. rr and ssl. 2016-09-29 16:36:14 +02:00
Kaveh Vahedipour 11a9d3bb87 local cluster start update 2016-09-29 16:10:45 +02:00
Kaveh Vahedipour 6eb80d6bce on the way to the all new local cluster 2016-09-29 16:05:53 +02:00
Kaveh Vahedipour 1eedda332d arangod/Cluster/ClusterInfo.cpp 2016-09-29 15:32:10 +02:00
Kaveh Vahedipour cdffe12917 agency bug resolved 2016-09-29 14:07:31 +02:00
Kaveh Vahedipour 4b8148edee follow redirect for dumpagency 2016-09-27 16:12:47 +02:00
Kaveh Vahedipour cc0a4ffbaa supervision grace period introduced as command line argument. reappeared db servers are removed from failedServers 2016-09-26 16:00:07 +02:00
Max Neunhoeffer 1bdf414de2 Improve shutdownLocalCluster script. 2016-09-23 15:23:03 +02:00
Max Neunhoeffer cc41b1624d Revert "removed debug logging again from local cluste"
This reverts commit 0ee4938b43.
2016-09-21 10:33:02 +02:00
Kaveh Vahedipour 0ee4938b43 removed debug logging again from local cluste 2016-09-20 15:30:59 +02:00
Kaveh Vahedipour 862355a093 enterprise scripts for agency 2016-09-20 09:13:42 +02:00
Andreas Streichardt 210cbbfb56 Delete useless script 2016-09-19 15:52:28 +02:00
Kaveh Vahedipour 7806dde219 fixed ssl_server test 2016-09-16 13:14:08 +02:00
Kaveh Vahedipour 7dc0e4fc29 agency warnings in start local cluster script demoted 2016-09-13 13:26:30 +02:00
Kaveh Vahedipour 542699f8ff more timing optimisation in callbacks 2016-09-13 11:12:28 +02:00
Kaveh Vahedipour bdf2b9a55e fix in timing and wanring 2016-09-13 11:04:51 +02:00
Kaveh Vahedipour e0de07b403 more robust network independance in RAFT election cycle 2016-09-09 15:59:58 +02:00
Kaveh Vahedipour 8b6f0e1f51 agency supervision turned off for quickietest 2016-09-09 15:03:12 +02:00
Kaveh Vahedipour 16a35ee15a multi-host agency in tests 2016-09-09 14:46:54 +02:00
Kaveh Vahedipour 33c2692c50 optimising agency handover 2016-09-08 17:39:50 +02:00
Kaveh Vahedipour df4dabc019 minor 2016-09-08 15:27:27 +02:00
Kaveh Vahedipour c90f1dcb76 minor 2016-09-06 09:27:00 +02:00
Kaveh Vahedipour d6d9d0ade8 minor 2016-09-02 12:59:58 +02:00
Kaveh Vahedipour b3b7d7c907 failed servers are excluded from new shard creation 2016-09-02 12:37:53 +02:00
Kaveh Vahedipour 2550dd22e0 fixed issue with leadership in minority 2016-08-31 17:23:48 +02:00
Wilfried Goesgens c2c774fcc8 Pass arguments along to build.sh 2016-08-30 11:23:01 +02:00
jsteemann 524492c75d fixed cluster start 2016-08-29 11:12:14 +02:00
Jan Christoph Uhde e1a4edeb0a improve the perf script 2016-08-28 23:13:18 +02:00
Jan Christoph Uhde fe335baa61 fix perfsetupscript 2016-08-28 18:09:03 +02:00
Jan Christoph Uhde 9157debf96 clean up perf script 2016-08-28 15:37:22 +02:00
Andreas Streichardt 7e8bc00747 Allow pre-initialization of cluster 2016-08-24 16:03:08 +02:00
Kaveh Vahedipour bb70ed3b8f Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-08-19 18:00:21 +02:00
Kaveh Vahedipour 7c706ecdc8 weekend edition 2016-08-19 17:59:58 +02:00
Wilfried Goesgens 36edfdf5c3 fix permissions 2016-08-19 17:31:26 +02:00
Wilfried Goesgens cc8c1205b1 Implement mac deployment scripts 2016-08-19 17:11:18 +02:00
Kaveh Vahedipour 4570320a5b dumb warnings 2016-08-19 13:44:01 +02:00
Kaveh Vahedipour b865f3a41c pool size default 2016-08-19 11:13:25 +02:00
Kaveh Vahedipour d8cb8a33ac pushing corrected unittest script and cluster startup scripts 2016-08-19 09:49:44 +02:00
Kaveh Vahedipour f7c05fe72b adjusting startup scripts 2016-08-19 09:08:33 +02:00
Kaveh Vahedipour d54c090a01 missing source file added 2016-08-19 08:41:19 +02:00
Kaveh Vahedipour b3ba9be57f we have a bootstrapping agency 2016-08-19 06:05:33 +02:00
Kaveh Vahedipour c4bff54771 Merge branch 'devel' of https://github.com/arangodb/arangodb into agency-startup 2016-08-18 17:25:24 +02:00
Wilfried Goesgens 7250db8830 Merge branch 'devel' of github.com:arangodb/ArangoDB into pipeline 2016-08-18 15:59:12 +02:00
Kaveh Vahedipour 6edc1ff5fa AgentConfiguration needed to handle its own read/write locks 2016-08-18 15:54:42 +02:00
Wilfried Goesgens 238b2a6f35 Work on building the packages script controlled. 2016-08-18 15:54:23 +02:00
Kaveh Vahedipour 1a23803238 multiagent gossip 2016-08-16 15:46:00 +02:00
Andreas Streichardt 87c8c0033a Improve clusterawareness in foxx and foxx queues 2016-08-10 12:26:24 +02:00
Kaveh Vahedipour 7069fc0da0 raft testing revealed performance optimisation in receiver and of appendentries 2016-08-05 14:59:39 +02:00
Kaveh Vahedipour fcf96f42a7 removing debug warnings 2016-08-05 14:41:24 +02:00
Kaveh Vahedipour c586b63f03 raft testing revealed performance optimisation in receiver and of appendentries 2016-08-05 12:36:23 +02:00
Kaveh Vahedipour bc042e858e raft testing revealed performance optimisation in receiver and of appendentries 2016-08-05 09:41:50 +02:00
Kaveh Vahedipour b847447b7c fixed compaction bug 2016-08-04 15:48:06 +02:00
Kaveh Vahedipour 307332e817 raft testing revealed performance optimisation in receiver and of appendentries 2016-08-04 15:46:23 +02:00
Kaveh Vahedipour 456f94bf47 fixed compaction bug 2016-08-03 13:59:52 +02:00
Kaveh Vahedipour 0221f2582c fixed compaction bug 2016-08-03 13:59:40 +02:00
Kaveh Vahedipour fde28d1a61 sped up agency communication. startLocalCluster now starts up about the same time regardless of agency size. 2016-08-03 13:13:48 +02:00
Kaveh Vahedipour e42d8e432b wrong push on startLocalCluster 2016-08-03 10:31:42 +02:00
Kaveh Vahedipour e326dc3c53 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-08-02 13:13:14 +02:00
Kaveh Vahedipour cab4d78eee fixed compaction bug in RAFT 2016-08-02 13:13:05 +02:00
Wilfried Goesgens 04a1be577f Merge branch 'devel' of github.com:arangodb/ArangoDB into pipeline 2016-08-02 09:22:46 +02:00
Kaveh Vahedipour da893cc056 integrated agency bugfix from 3.0 2016-08-01 13:46:52 +00:00
Wilfried Goesgens ad0bc4d00f Work on the debian build
- change 3.0.x-devel to be 3.0.devel since minus or underscore collide with packaging requirements
  - re-sync package scripts with whats current on suse OBS
  - add config-uid support.
2016-08-01 13:43:30 +02:00
Wilfried Goesgens 41a2b867d1 Merge branch 'devel' of github.com:arangodb/ArangoDB into pipeline 2016-07-29 15:37:17 +02:00
Andreas Streichardt dd75978464 Remove sleep 2016-07-28 17:14:17 +02:00
Wilfried Goesgens ee6464a4ef We have to use bash here, else the pwd magic doesn't work. 2016-07-28 16:27:27 +02:00
Max Neunhoeffer f5c76664fd Latest performance measuring scripts and analysis program. 2016-07-28 15:40:17 +02:00
Wilfried Goesgens 60a3f84794 Fix parameters to build.sh 2016-07-27 15:06:25 +02:00
Max Neunhoeffer 103cbecd64 New script version. 2016-07-27 14:51:25 +02:00
Max Neunhoeffer d05dae34a2 New version of script. 2016-07-27 10:31:03 +02:00
Wilfried Goesgens c6a1bcc226 Cleanup buildsystem
- add RPM support
  - move macros in own file
  - cleanup sequence
  - add CMAKE switch "-DPACKAGING=[DEB|RPM|DARWIN]" that prepares package building
2016-07-26 16:13:34 +02:00
Max Neunhoeffer a66e7c067e Modularize perf script. 2016-07-26 15:23:24 +02:00
Max Neunhoeffer 209250c61f Add one more event. 2016-07-26 15:18:27 +02:00
Max Neunhoeffer 6bfcaf0b79 Add a first perf probe monitoring script. 2016-07-26 14:56:44 +02:00
Andreas Streichardt 8551c3836e Use standard GNU install dirs 2016-07-04 18:19:26 +02:00
Max Neunhoeffer 2764a6b1d3 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-07-01 16:43:30 +02:00
Max Neunhoeffer e85ea156a3 Take docker image name out of code. 2016-07-01 16:43:07 +02:00
Kaveh Vahedipour 4ead4f0ed7 compaction bug fixed for followers 2016-07-01 11:27:33 +02:00
Kaveh Vahedipour 8d9e636779 fixing follower agency compaction 2016-07-01 10:36:54 +02:00
Max Neunhoeffer bd04d6db9e Add startArangoDBClusterLocal.sh script. 2016-07-01 09:45:56 +02:00
Kaveh Vahedipour 29acdad6bf unnecessary double condition 2016-06-29 17:42:41 +02:00
Kaveh Vahedipour 1baf2050c6 waitForCommited bug in agency fixed 2016-06-29 14:54:05 +02:00
Kaveh Vahedipour 811275889f too ambitious minimum election time in agency for wait-for-sync 2016-06-28 10:45:13 +02:00
Kaveh Vahedipour 998136add6 more agency tests 2016-06-24 16:52:34 +02:00
Kaveh Vahedipour 1043af68f7 agency will hold back responses until such time that leader has been elected 2016-06-24 16:37:57 +02:00
Kaveh Vahedipour 34aed57a6d adding IN operator to kv-store 2016-06-22 14:44:43 +02:00
Max Neunhoeffer 98af68aadf Add an important step to debian build script. 2016-06-20 00:41:18 -07:00
Kaveh Vahedipour c63189942f start local cluster for windows pretty ready 2016-06-17 16:55:57 +02:00
jsteemann 1ac39f9f86 added script for generating fish shell completions 2016-06-16 19:36:06 +02:00
Kaveh Vahedipour e5f639ce6b added windows startLocalCluster batch 2016-06-16 15:04:26 +02:00
Max Neunhoeffer d0fe9f6d81 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-06-15 21:29:20 -07:00
Max Neunhoeffer abd637076e Explicitly specify INFO as default logging level. 2016-06-15 21:27:28 -07:00
Max Neunhoeffer 42d1aa1f00 Switch on statistics in startLocalCluster everywhere (except agency). 2016-06-15 16:15:55 +02:00
Kaveh Vahedipour d494ae0fc5 start local cluster script starts agency with no threads: nservers + ncoord + nagents 2016-06-15 08:29:25 +00:00
Kaveh Vahedipour 55351f2358 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-10 15:57:25 +02:00
Kaveh Vahedipour 988b4401f2 machine ids in cluster zero-filled to up to 1000 machines 2016-06-10 15:57:12 +02:00
Max Neunhoeffer cd68c810bc Hide some error output. 2016-06-10 14:41:26 +02:00
Kaveh Vahedipour b9a6a89392 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-06-10 12:36:01 +02:00
Kaveh Vahedipour d34752a1c4 removed dependence on excetion throwing for store to build results 2016-06-10 12:35:52 +02:00
Max Neunhoeffer 73f7d152ee New shutdownLocalCluster.sh script. 2016-06-10 12:02:31 +02:00
Max Neunhoeffer 3aa70dfeb3 Remove unnecessary warning. 2016-06-10 12:02:19 +02:00
Max Neunhoeffer 6b854bdf8a Repaired startLocalCluster.sh for call without arguments. 2016-06-09 15:29:40 +02:00
Kaveh Vahedipour 516ac10331 can start local cluster with multiple agents 2016-06-08 19:06:04 +02:00
Kaveh Vahedipour 382ac052d4 resilience green 2016-06-08 18:27:59 +02:00
Kaveh Vahedipour 2821d3ab86 jslint error 2016-06-03 13:32:15 +02:00
Max Neunhoeffer fa46d812a4 Switch statistics on in startLocalCluster. 2016-05-31 12:40:14 -06:00
Max Neunhoeffer 5e3555c0ed Add a script to start a cluster using only the Docker image. 2016-05-25 23:38:23 +02:00
Kaveh Vahedipour 1846a3c4f7 finished jobs. clean out server, failed leader, move shard 2016-05-25 17:45:28 +02:00
Max Neunhoeffer 0227e47153 Fix shard sync jobs in background.
Also fix bug that indexes and properties in followers are updated.
2016-05-25 11:55:07 +02:00
Kaveh Vahedipour 00d3587e9a Supervision moves shards 2016-05-24 15:57:08 +02:00
Andreas Streichardt 2792e03aeb Correct build type 2016-05-20 16:38:40 +02:00
Max Neunhoeffer 53b4d9d969 More server threads in startLocalCluster.sh 2016-05-19 14:08:54 +02:00
Kaveh Vahedipour 434e1c00c3 rewrote agency's key value store handling of ttls. 2016-05-18 16:16:02 +02:00
jsteemann 24aba31367 re-added script to build completions 2016-05-18 09:04:00 +02:00
jsteemann 4c7bd80c3c removed files after confirmation with @neunhoef 2016-05-18 09:01:44 +02:00
jsteemann edd58743e0 removed export for ETCD 2016-05-18 08:32:01 +02:00
Kaveh Vahedipour b3710f8e9f there is a problem dealing with LatestID 2016-05-14 23:01:33 +02:00
Andreas Streichardt d055f10b3b Streamline builds 2016-05-11 15:03:59 +02:00
Andreas Streichardt b3f0a4956e jemalloc is not REQUIRED if explicitly requested 2016-05-11 13:33:41 +02:00
Max Neunhoeffer 31f9806ab6 Tune build-deb.sh script. 2016-05-11 11:29:02 +02:00
Max Neunhoeffer b5c87fba33 Add a trivial quickie test and a convenience script. 2016-05-06 22:47:17 +02:00
Max Neunhoeffer 66f1fce328 Repair startLocalCluster.sh script w.r.t. XTERM and XTERMOPTIONS. 2016-05-06 22:46:23 +02:00
Andreas Streichardt 9cbe13dd43 Merge branch 'json_agency_comm' into devel 2016-05-06 17:21:41 +02:00
Andreas Streichardt 04ba5156e5 Rework planned collection loading 2016-05-06 17:03:13 +02:00
Max Neunhoeffer 17abab2695 Improve functionality of scripts/dumpAgency.sh
You can now say for example:
  scripts/dumpAgency.sh .[0].arango.Plan.Collections
with the obvious meaning.
2016-05-06 09:02:58 +02:00
Andreas Streichardt a80d208590 Use core2 as the absolute minimum architecture 2016-05-04 14:33:32 +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
Kaveh Vahedipour 88ea3473b0 too much output in logs 2016-05-02 16:07:00 +02:00
Max Neunhoeffer 54aadbe912 Fix path to executable. 2016-05-02 15:53:13 +02:00
Max Neunhoeffer b05464b78c Cluster bootstrap revolution. 2016-04-29 13:59:12 +02:00
Andreas Streichardt 5bc646ff44 Put required debian options into a script 2016-04-26 08:09:33 +00:00
Max Neunhoeffer 31bdb4e22e Modernize startLocalCluster w.r.t. xterm. 2016-04-22 14:35:47 +02:00
Max Neunhoeffer 3363e9bc27 Fix startLocalCluster script. 2016-04-21 16:53:08 +02:00
Kaveh Vahedipour 35b27663b0 class Node out of Store.{h,cpp} 2016-04-21 14:10:41 +02:00
Kaveh Vahedipour 2637666698 cluster start on fmh succeeds, however slow 2016-04-20 16:12:48 +02:00
Kaveh Vahedipour b480155000 preparing merge back into deve 2016-04-20 14:42:32 +02:00
Max Neunhoeffer 7a12918021 Fix agency startup. Agency not yet working. 2016-04-20 12:25:13 +02:00
Frank Celler 3bb24146a6 Merge branch 'devel' of github.com:arangodb/arangodb into FMH 2016-04-19 19:18:02 -07:00
Andreas Streichardt c2914ae521 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-04-19 17:41:49 +02:00
Andreas Streichardt 1743f2eb49 num v8 context 1 in agency to save memory 2016-04-19 17:41:24 +02:00
Michael Hackstein 1eb1e0ee0c Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-04-19 17:08:21 +02:00
Michael Hackstein 7455347263 Start Local cluster will now fail if upgrading and bootstrapping fails 2016-04-19 17:08:16 +02:00
Andreas Streichardt f41d9c41c4 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-04-19 16:50:36 +02:00
Andreas Streichardt 30b71d0423 Wait 5ms when connection needs to be reestablished 2016-04-19 16:49:51 +02:00
Max Neunhoeffer f3e47db5d8 Add a dumpAgency script. 2016-04-19 14:51:17 +02:00
Max Neunhoeffer 65e66b92a7 Add startAgency script. 2016-04-19 14:43:53 +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 926f02ace5
Use mime-types 2016-04-18 18:00:35 +02:00
Frank Celler 9d26ab1bbc WIP 2016-04-16 17:39:20 -07:00
Andreas Streichardt 49d0407859 Trace vs info again 2016-04-14 18:23:08 +02:00
Andreas Streichardt 612c387c56 Optimize version increase stuff 2016-04-14 18:17:25 +02:00
Kaveh Vahedipour fa6e12efe4 option to turn off sync for wait on every persistence call 2016-04-13 19:40:19 +02:00
Kaveh Vahedipour d247e7a3bd mop is fixing the cluster load 2016-04-13 15:36:11 +02:00
Andreas Streichardt 4c27442bd9 Implement callbacks 2016-04-13 14:05:15 +02:00
Jan Steemann c49166d40e do not log traces! 2016-04-12 16:37:48 +02:00
Jan Steemann b366366ba9 fixed startup configuration 2016-04-07 09:09:26 +02:00
Jan Steemann 9f8c24b1cd Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk 2016-04-06 15:43:27 +02:00
Andreas Streichardt c2cf4be4e0 Remove etcd 2016-04-05 18:41:37 +02:00
Andreas Streichardt d2d7af67fe Kickstarter and planner are dead 2016-04-05 17:45:39 +02:00
Andreas Streichardt 70d6f1259a Finally cluster is working with the new agency 2016-04-01 17:07:28 +02:00
Andreas Streichardt b2fc192dd2 implement new agency 2016-03-31 14:03:01 +02:00
Jan Steemann 881761d2d5 Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk 2016-03-24 17:05:43 +01:00
Andreas Streichardt 9ba72b4412 Properly update current collection 2016-03-24 16:55:15 +01:00
Jan Steemann f670a07046 Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk 2016-03-23 19:01:19 +01:00
Andreas Streichardt 8cdf8eebad More python fixes 2016-03-23 18:36:22 +01:00
Max Neunhoeffer 55998ba0a9 Add rr support for startLocalCluster. 2016-03-23 08:57:23 +01:00
Andreas Streichardt b2334b8406 Starting up secondaries works 2016-03-17 10:38:47 +00:00
Frank Celler d9f9b8b65d fixed server version 2016-03-16 13:01:18 +01:00
Frank Celler aede7c5eb1 removed arangod from document path 2016-03-16 12:30:09 +01:00
Frank Celler dfa9047484 switch arangosh to new ApplicationFeatures and ProgramOptions 2016-03-08 23:32:43 +01:00
Frank Celler da7955e417 Merge branch 'devel' of github.com:arangodb/arangodb into solaris 2016-02-24 19:29:01 +01:00
Andreas Streichardt c69696bc85 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-02-24 17:01:12 +01:00
Max Neunhoeffer 15865ccae4 Fix startLocalCluster script? 2016-02-24 16:56:50 +01:00
Frank Celler 9fca3425a1 cleanup 2016-02-23 15:28:31 +01:00
Andreas Streichardt 840705f85e custom data dir 2016-02-23 15:25:04 +01:00
Andreas Streichardt e8d3bf0f7b cmake build locations vs. startLocalCluster 2016-02-23 15:25:04 +01:00
Andreas Streichardt 2c65416f3d one cluster dir is enough...log agency stuff 2016-02-22 18:26:54 +01:00
Andreas Streichardt c9bb0f1eeb custom data dir 2016-02-22 18:15:02 +01:00
Andreas Streichardt 025bb3da51 cmake build locations vs. startLocalCluster 2016-02-22 17:36:45 +01:00
Frank Celler c0f5fbe453 use ARANGOSH is given 2016-02-20 12:01:31 +01:00
Kaveh Vahedipour db9d23b7ef Adapting to intel compiler 15.0 2016-02-18 23:26:45 +01:00
Frank Celler 226e51b72b changed binary path to new cmake structure 2016-02-18 15:16:51 +01:00
Max Neunhoeffer cf763f6eb0 Make terminal a bit smaller in debugging mode. 2016-02-17 08:36:57 +01:00
Max Neunhoeffer 459a540867 Merge branch 'devel' into ClustUp2 2016-02-15 09:16:01 +01:00
Frank Celler 6ac522f9ea added jslint script 2016-02-14 16:50:41 +01:00
Max Neunhoeffer 1065486a77 First version of getting shards in sync working. 2016-02-13 23:04:20 +01:00
Wilfried Goesgens 35eee05537 lintify 2016-02-10 16:21:30 +01:00
Wilfried Goesgens 7c551792ca Abort if the python script returned a failure. 2016-02-10 15:53:15 +01:00
Frank Celler 2b4a0c2c78 raise ulimit 2016-02-05 15:09:30 +01:00
Andreas Streichardt 8075cdc30f Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-02-05 14:25:45 +01:00
Frank Celler 63a994268b added ETCD_NONO 2016-02-04 22:31:15 +01:00
Andreas Streichardt de6babd26c Remove obsolete init_agency.js 2016-02-04 17:43:22 +01:00
Andreas Streichardt f096580706 Merge remote-tracking branch 'upstream/devel' into initializecluster 2016-02-04 11:37:02 +01:00
Andreas Streichardt adce528373 Proper initialization
Also find a fitting spot for our role
2016-02-04 11:29:43 +01:00
Wilfried Goesgens 3188f567cc Add scripts to read /etc/mime.types as found on many linux distributions into a collection 2016-02-03 11:23:36 +01:00
Frank Celler de791c3a02 removed unneccessary valgrinds 2016-02-01 17:52:10 +01:00
Frank Celler 7fa5e6f008 removed shift 2016-01-29 22:28:22 +01:00
Frank Celler 423a5420b2 splitted run and unittest scripts 2016-01-29 20:05:39 +01:00
Max Neunhoeffer 6225510dbc Merge branch 'devel' into ClustUp2 2016-01-27 13:17:12 +01:00
Frank Celler 8bc7b1718c added more info output 2016-01-26 22:50:15 +01:00
Max Neunhoeffer 887e571a26 Merge branch 'devel' into ClustUp2 2016-01-26 18:01:42 +01:00
Frank Celler df0a6f4abf create out directory 2016-01-23 23:30:41 +01:00
Frank Celler ae140af3cf added -- to signal the end of arangosh commands 2016-01-23 21:58:27 +01:00
Frank Celler 764a95ea2a switch to testing.js, moved testing.js to client 2016-01-23 21:07:42 +01:00
Max Neunhoeffer c88f280e2b Set heartbeat interval to 5s. 2015-12-29 15:49:18 +01:00
Max Neunhoeffer 4451e491ec Merge branch 'devel' into ClustUp1 2015-12-15 17:46:34 +01:00
Alan Plum 8853ede355 org/arangodb -> @arangodb 2015-12-15 15:51:44 +01:00
Max Neunhoeffer c7e99616c8 Use more modern font for debugging. 2015-12-08 12:45:37 +01:00
Max Neunhoeffer 83413e6783 Add debugging feature to startLocalCluster script. 2015-12-07 13:43:28 +01:00
Max Neunhoeffer e2eadd8239 Switch of statistics and foxx queues in local cluster script. 2015-11-03 10:19:27 +01:00
Jan Steemann 1fa5616b30 attempt to fix travis build status detection 2015-10-21 16:56:42 +02:00
Wilfried Goesgens 93bc281e39 Fix naming & removing of temp directories. 2015-10-02 13:50:07 +02:00
Wilfried Goesgens a5d8c12067 unittesting framework
- don't output xml reports if we run single tests
  - add another token to the 'this is not a testcase name' list
2015-10-02 13:38:25 +02:00
Willi Goesgens 10dbe60112 Implement launching of arangod for example generation; add documentation.
fixes #1455
2015-08-26 14:30:54 +02:00
Jan Steemann a076da8f6c fix jslint warning 2015-08-26 09:11:50 +02:00
Willi Goesgens 2c099b8348 Add a js-scripted way to invoke the example generator - for now it needs a running arangod instance. 2015-08-25 17:56:25 +02:00
Max Neunhoeffer e74025fa2d Add possibility to start a coordinator with console in an xterm. 2015-08-04 08:50:49 +02:00
Willi Goesgens f32e793776 fix calculation of filename; out/ musn't be converted to out_ 2015-06-26 09:28:46 +02:00
Willi Goesgens fcc64191fe Move temporary data during test runts into the out/ directory to keep the working directory clean. 2015-06-25 17:20:48 +02:00
Michael Hackstein 7f8be74c09 Added a test for OOM in Ditches for Neighbors. Added a test for missing vocbase in ExampleMatcher 2015-06-16 10:46:33 +02:00
Willi Goesgens f9c2bc1c49 If we run in cygwin, we have to append .exe 2015-06-12 17:53:47 +02:00
Willi Goesgens 6c249858c0 Fix cluster detection for test names. 2015-05-13 11:22:36 +02:00
Alan Plum cc823ea7fb Linting. 2015-05-07 20:36:21 +02:00
Willi Goesgens fbbe97b9b0 Modify unit testing suites so they publish the results with 'CL' as prefix if you're running in cluster mode. 2015-05-07 17:45:27 +02:00
Max Neunhoeffer 541b4c2f07 New startLocalCluster script, speed much better. 2015-04-13 12:02:16 +02:00
Alan Plum 69e63c2c64 Strict mode all the things. 2015-04-09 00:22:05 +02:00
Max Neunhoeffer 5bb07bbd9e Change localhost to 127.0.0.1 for GCE. 2015-03-22 23:39:29 -07:00
Max Neunhoeffer 92bf0c98ce Fix docker image name. 2015-03-18 00:01:06 -07:00
Max Neunhoeffer 86d16c4424 Add a script to start a cluster only with docker containers. 2015-03-17 23:48:48 -07:00
Willi Goesgens bfb0d0e678 fix script, that shouldn't have been removed along with the ruby. 2015-03-05 09:25:26 +01:00
Willi Goesgens 3d68efeb9d Byebye Ruby. 2015-03-04 16:43:54 +01:00
Willi Goesgens 060f9e710f upsi, wrong slash 2015-02-27 14:46:41 +01:00
Willi Goesgens 29a421eb59 We just need one \ here... 2015-02-24 10:19:31 +01:00
Willi Goesgens 270f7cc919 Fix temp-file generation broken when adding error handling. 2015-02-23 16:52:03 +01:00
Willi Goesgens 75f4c2cdd0 Fix filenames to be os-agnostic. 2015-02-23 16:36:11 +01:00
Willi Goesgens 32b4f5de19 cygwinify run, and make run_cygwin.sh a symlink (hope this works ;-) 2015-02-23 14:59:20 +01:00
Willi Goesgens 8dee578f9b file permissions, make windows script executable. 2015-02-23 14:46:57 +01:00
Jan Steemann 30ce8d0581 fixed broken test script 2015-02-10 10:28:19 +01:00
Jan Steemann 82c9d8cadd jslint, unglobalized functions 2015-02-10 10:04:56 +01:00
Willi Goesgens bf36f1dafe Lintify 2015-02-10 09:52:02 +01:00
Willi Goesgens b6556576d3 Handle commandline parsing in a nicer way. 2015-02-10 00:19:55 +01:00
Willi Goesgens 637901de28 More shellish commandline parsing. 2015-02-09 19:06:14 +01:00
Willi Goesgens f821b6045c If there exists a symlink to run, and there is a .js script by the same name, it now can simply be called.
so, instead of
  ./scripts/run scripts/unittest.js ...
you now can do
  ./scripts/unittest ...

:-]
2015-02-09 18:26:40 +01:00
Willi Goesgens edda36b484 match new etcd
- use 127.0.0.1 instead of localhost
  - properly pass errors up if we fail to launch a cluster component
  - Planner: throw proper error objects.
  - testing: properly handle cluster start abort situations.
  - if the agent doesn't come up in time, kill it for a proper abort.
2015-02-09 17:34:16 +01:00
Jan Steemann 5c3749c989 jslint 2015-02-03 09:10:50 +01:00
Willi Goesgens bb13eb0b37 Fix exit checking. 2015-02-02 19:03:17 +01:00
Willi Goesgens 72c4891350 Don't run full server for executing tests 2015-02-02 13:18:43 +01:00
Willi Goesgens 8adfb7f1d8 Remove temporary directories of controlling arangod instance after successfull testruns 2015-02-01 12:52:35 +01:00
Willi Goesgens 194a043852 jslint 2015-01-30 16:55:26 +01:00
Max Neunhoeffer b31b8d9678 Silence stderr as well. 2015-01-30 15:04:14 +01:00
Max Neunhoeffer 1c516f5c9a Improve error handling in discover.js script. 2015-01-30 15:03:50 +01:00
Max Neunhoeffer e24278828c Changes to cluster startup for mesos cooperation.
This simplifies the cluster startup by introducing a further agency
lookup step using "local info" to find the "id". This allows an external
discovery process (see scripts/discover.js as an example) to configure
a new server in the cluster dynamically when it starts up.

New GNUmakefile targets
  pack-tar-config
  pack-tar
2015-01-28 12:58:24 +01:00
Jan Steemann c80549eb7f jslint 2015-01-27 14:06:31 +01:00
Willi Goesgens 19d8221e1d Portably handle path separators. 2015-01-27 12:18:37 +01:00
Willi Goesgens 6be1b5463e Add script wrapper for cygwin. 2015-01-23 17:35:26 +01:00
Willi Goesgens c641b2214b - Use a predefined array to differenciate between informational & payload members of the testresults structure.
- Only report failure if we occur extraordinary server vanishes.
2015-01-14 17:19:02 +01:00
Willi Goesgens cf2abccde8 Fix output of empty xml files if there was a skipped test
- return the propper message if the test is skipped
  - evaluate skipped in the xml dumper
  - ignore status fields in the structure as test results for xmls
2015-01-13 19:05:48 +01:00
Jan Steemann e376391bfa added scripts to automatic testing 2014-10-30 00:46:58 +01:00
Willi Goesgens 93c8a44605 switch the temp-directory to /var/tmp/ 2014-10-28 14:42:25 +01:00
Max Neunhoeffer f0e13094f1 Get rid of 10 sek delay. 2014-10-28 00:01:54 +01:00
Willi Goesgens fe5a5c3958 Catch commandline parser problems if de-serialiszing the json options fails 2014-10-14 17:54:44 +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
Willi Goesgens bea60cf73b If whole testsuite fails, create a new 'testcase' with the full message inside so we see the actualy problem in jenkins. 2014-09-29 09:51:25 +02:00
Willi Goesgens 5696c37c1b If a whole test suite fails, output the global error message. 2014-09-26 17:16:08 +02:00
Willi Goesgens 815e39cb58 don't treat 'message' as testcase. 2014-09-26 09:43:07 +02:00
Willi Goesgens 705746ff87 Typo. 2014-09-25 16:07:27 +02:00
Willi Goesgens cf72047b30 Catch exceptions from testing.js 2014-09-25 15:47:02 +02:00
Max Neunhoeffer 02d154aff6 Fix another typo. 2014-09-25 14:06: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 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 968023aa46 Measure the time used per test. 2014-09-23 10:44:08 +02:00
Willi Goesgens fd3931a99a wrap error message in cdata section. 2014-09-22 18:21:08 +02:00
Willi Goesgens e56aeb6fad split unittest results into several xml files - each testsuite is one file. 2014-09-22 18:00:52 +02:00
Willi Goesgens 03ca3431e1 Add more information to the unittest status xml 2014-09-22 17:10:06 +02:00
Willi Goesgens ce08c58718 add the ability to run the test themselves in valgrind. 2014-09-16 14:25:25 +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
Frank Celler 9b09a8a482 fixed args parsing 2014-09-14 21:44:53 +02:00
Willi Goesgens 5eec90ed97 get valgrind params right, next try. 2014-09-12 17:47:40 +02:00
Willi Goesgens 176d7b0f14 Fix call schematic of valgrind. 2014-09-12 17:42:45 +02:00
Willi Goesgens c9d743840b Add method to produce valgrind xml reports for jenkins integration. 2014-09-12 16:53:57 +02:00
Willi Goesgens 63be847a59 Output an XML status of the unittest which we hope is understood by Jenkins. 2014-09-12 15:45:47 +02:00
Willi Goesgens 644de016c0 Add python script that can make a json-serialized AQL-Query more human readable by filtering and using Yaml. 2014-08-21 11:47:45 +02:00
Willi Goesgens a333f05387 Offer possibility to run unittests in valgrind 2014-08-14 10:57:50 +02:00
Max Neunhoeffer 84644a4c10 Report result of unittest in file. 2014-03-14 14:40:33 +01:00
Max Neunhoeffer 2a0e487520 Improve error reporting. 2014-03-14 10:33:22 +01:00
Max Neunhoeffer bb49ae6c91 Use separate configurations for coordinator and dbservers. 2014-03-13 10:26:19 +01:00
Max Neunhoeffer 709feb8572 Fill in new configuration options for cluster case in script. 2014-02-28 14:56:39 +01:00