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
Jan Steemann
d1db2ac3ca
only print endpoints if present
2014-02-26 20:24:55 +01:00
Max Neunhoeffer
8a41a53dc5
Improve display.
2014-02-25 14:24:09 +01:00
Max Neunhoeffer
623ff40dbc
Add a shutdown_cluster script.
2014-02-24 15:59:24 +01:00
Max Neunhoeffer
a4c991ca89
Take out a debugging output.
2014-02-24 15:05:54 +01:00
Max Neunhoeffer
56c66a4e1d
Add 1024 to random number for port.
2014-02-24 15:02:59 +01:00
Max Neunhoeffer
6a91ba63f2
Add a convencience script to run unittests as follows:
...
scripts/run scripts/unittest.js all
2014-02-21 11:26:29 +01:00
Max Neunhoeffer
019bb7716f
Add authentication tests to js framework.
2014-02-21 10:09:50 +01:00
Max Neunhoeffer
2e81a722b1
Fix relaunch script.
2014-02-20 23:59:03 +01:00
Max Neunhoeffer
d53209bbea
Add relaunch script.
2014-02-20 10:19:41 +01:00
Max Neunhoeffer
89f0b13745
Fix cluster scripts.
2014-02-20 10:18:40 +01:00
scottashton
c2a69c844e
finished dygraph
2014-02-19 13:03:13 +01:00
Jan Steemann
d8061f56ab
pass ruby paths
2014-02-18 15:49:20 +01:00
Max Neunhoeffer
1c05f12c67
Create system collections in kickstarter.
2014-02-18 11:52:09 +01:00
Max Neunhoeffer
04cd14b91f
Update convenience scripts.
2014-02-18 10:15:13 +01:00
Max Neunhoeffer
2fa986ca4c
Add convenience scripts for cluster.
2014-02-18 10:14:47 +01:00