root
c7f8046e48
raft bug. leader ship cannot be rendered to higher term and lower index.
2016-08-24 09:26:34 +00:00
jsteemann
f92815b09b
Merge branch 'devel' of https://github.com/arangodb/arangodb into engine-vs-velocystream
2016-08-24 09:38:06 +02:00
Kaveh Vahedipour
fb8173b1ec
rest handler now timeouts when no leadership established and reports 503
2016-08-23 15:38:32 +02:00
Andreas Streichardt
3f412debf0
Revert futile attempts to implement client resilience tests
2016-08-17 18:12:40 +02:00
Andreas Streichardt
6aad24ab49
Self managing (instances) tests
2016-08-17 17:25:39 +02:00
jsteemann
f39ade10f5
jslint
2016-08-15 15:13:03 +02:00
jsteemann
209c108c59
Merge branch 'devel' of https://github.com/arangodb/arangodb into readcache
2016-08-15 14:34:01 +02:00
jsteemann
2780f1ec87
jslint
2016-08-15 13:41:13 +02:00
Jan Christoph Uhde
61e384e8f2
Merge remote-tracking branch 'origin/engine-vs-velocystream' into merge_jans
...
* origin/engine-vs-velocystream: (54 commits)
Fix testing
Proper roles of servers
Streamline agency testing
Fix if
Fix testing
Improve clusterawareness in foxx and foxx queues
Add test because of keysorting bugfix
Couldn't query two different keys beginning with the same string in one level
Add download and slack buttons to documentation header
gv
Adjustment for Repository Version
Adjustment for Repository Version
Adjustment for Repository Version
Update build-repository.h.in
improved gv
Create build-repository.h.in
queryView bugfix
grunt build
improved gv, added limit
improved gv
...
2016-08-15 08:51:38 +02:00
Andreas Streichardt
784b752c8a
Proper roles of servers
2016-08-10 16:30:42 +02:00
Andreas Streichardt
116a4448e3
Streamline agency testing
2016-08-10 16:10:45 +02:00
Andreas Streichardt
87c8c0033a
Improve clusterawareness in foxx and foxx queues
2016-08-10 12:26:24 +02:00
Andreas Streichardt
40cf860c0d
Add test because of keysorting bugfix
2016-08-10 12:26:24 +02:00
Jan Christoph Uhde
0e5b455159
setPayload of response now takes contType instead of request
2016-08-08 14:48:56 +02:00
Jan Christoph Uhde
c423e9f91d
restructure test
2016-08-05 12:24:02 +02:00
Jan Christoph Uhde
1d0810b0cc
better spacing for unittest output
2016-08-05 10:04:13 +02:00
Jan Christoph Uhde
90388f4e72
fix test - use substrings instead of exact match
2016-08-04 23:31:53 +02:00
Jan Christoph Uhde
0fcbb58b11
update test --jslint is failing vecause of VPACK_TO_V8
2016-08-04 23:24:43 +02:00
Jan Christoph Uhde
0bcbe92433
Merge remote-tracking branch 'origin/engine-vs-velocystream' into obi-velocystream
...
* origin/engine-vs-velocystream: (95 commits)
move it a class method
speed up compaction and cleanup a bit
privatization
added functions V8_TO_VPACK and VPACK_TO_V8
fixed compaction bug
fixed compaction bug
raft testing revealed performance optimisation in receiver and of appendentries
more streamlining, links to the UDF documentation.
refactoring
By simran: review UDF documentation.
Explain clustering impacts in the optimizer chapter.
fixed tests
WG beautification
Remove iconv-lite
Add iconv-lite and timezone
Add missing package description file.
compaction bug in agency
compaction bug in agency
compaction bug in agency
fixed compaction bug
...
2016-08-04 18:48:51 +02:00
Jan Christoph Uhde
3c4db6783c
update test
2016-08-04 15:02:04 +02:00
Jan Christoph Uhde
01c1c09d5a
add first vpack test -- content type has to be fixed first
2016-08-04 13:32:25 +02:00
Kaveh Vahedipour
6b3fb28b30
compaction bug in agency
2016-08-03 14:34:23 +02:00
Andreas Streichardt
6ee1f6d14a
Reformat code
2016-06-30 16:57:17 +02:00
jsteemann
7339ff2c2c
jslint
2016-06-29 17:40:46 +02:00
Kaveh Vahedipour
e922909d6d
empty arrays handled wrong
2016-06-29 15:39:51 +02:00
Kaveh Vahedipour
1baf2050c6
waitForCommited bug in agency fixed
2016-06-29 14:54:05 +02:00
Kaveh Vahedipour
bbade806c3
more agency tests
2016-06-24 15:36:57 +02:00
Kaveh Vahedipour
761b16e407
added 'in'-check for agency precondition
2016-06-23 17:17:03 +02:00
Kaveh Vahedipour
015297c0ab
minimal verbose output from agency test
2016-06-23 14:04:03 +02:00
Kaveh Vahedipour
b40e5a3d24
agency test waits exactly for the leader election to have ended
2016-06-23 10:48:26 +02:00
Kaveh Vahedipour
0f66a110de
fixed max_elements bug in job transactions
2016-06-14 17:13:52 +02:00
Kaveh Vahedipour
a3694e7a01
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-06-14 16:39:17 +02:00
Kaveh Vahedipour
1b77bc7a83
ageny tests
2016-06-14 16:39:07 +02:00
jsteemann
4b8f2d4594
jslint
2016-06-14 16:14:15 +02:00
Kaveh Vahedipour
ab593bfa94
error handling in rest handling and random generator in constituent
2016-06-14 14:51:48 +02:00
Max Neunhoeffer
0040105e80
Finish transformation to three digit numbers in server IDs.
2016-06-13 14:37:15 +02:00
Kaveh Vahedipour
f674e8ecea
more kv tests agency
2016-06-10 10:36:31 +02:00
Kaveh Vahedipour
a13de0044e
waitForCommit is new default behaviour of writes in agency
2016-06-09 13:36:17 +02:00
Kaveh Vahedipour
09535492d6
waitForCommit is new default behaviour of writes in agency
2016-06-09 13:14:19 +02:00
Andreas Streichardt
f5e7187d8b
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2016-06-09 11:33:49 +02:00
Andreas Streichardt
c326a17cde
Add init test
2016-06-09 11:31:39 +02:00
jsteemann
0c88932669
de-wurstung
2016-06-08 22:28:13 +02:00
Kaveh Vahedipour
516ac10331
can start local cluster with multiple agents
2016-06-08 19:06:04 +02:00
jsteemann
6e3c05817e
jslint
2016-06-07 17:33:13 +02:00
Kaveh Vahedipour
c0204e89d9
green tests in agencySize 3
2016-06-07 17:16:58 +02:00
Kaveh Vahedipour
3090710b31
bug in subjobs iteration
2016-06-06 17:08:22 +02:00
Andreas Streichardt
54de1a5e52
fix jslint
2016-06-02 19:55:05 +02:00
Andreas Streichardt
1534f2f123
add grants
2016-06-02 16:39:57 +02:00
Andreas Streichardt
1fb57a2a93
properly check for failures
2016-06-01 12:08:44 +02:00
Andreas Streichardt
979e0f2d07
proper expiry
2016-06-01 09:59:24 +02:00
Andreas Streichardt
a6a6f162fa
Fix hardcoded jwt
2016-05-31 19:26:38 +02:00
Andreas Streichardt
9178e560eb
Implement jwt tests
2016-05-31 19:19:10 +02:00
Andreas Streichardt
aba66a50eb
_listEndpoints => _endpoints()
2016-05-18 15:34:42 +02:00
Kaveh Vahedipour
de9618572c
Faulty implementation of checks for multiple preconditions in agency
2016-05-12 10:02:13 +02:00
Kaveh Vahedipour
4efb6aac7f
oops pushed conflict
2016-05-12 08:51:10 +02:00
Kaveh Vahedipour
5f8f8a628a
cluster supervision moves broken leaders
2016-05-11 14:59:10 +02:00
Max Neunhoeffer
d48342d3b5
Change sleep to wait.
2016-05-09 11:16:16 +02:00
Kaveh Vahedipour
220c286a11
agency compaction to c++ database api
2016-05-09 08:12:22 +02:00
Kaveh Vahedipour
f3ff880c85
Node was not making correct == for rhs json objects
2016-04-27 13:10:48 +00:00
Kaveh Vahedipour
1acb0cba6f
agency/cluster startups seem correct
2016-04-21 11:19:07 +02:00
Max Neunhoeffer
4beb3deac8
New agency test.
2016-04-19 14:43:35 +02:00
Alan Plum
777848472d
standalone.html -> index.html
2016-04-18 18:01:05 +02:00
Kaveh Vahedipour
97a6c29ec6
[[{url:test,op:12,ttl:6}]] broke agency
2016-04-15 16:29:44 +02:00
Kaveh Vahedipour
393b068ac4
store's operator handling
2016-04-14 16:40:25 +02:00
Kaveh Vahedipour
05db051950
agency test for assigning objects through op set new ttl
2016-04-14 14:34:15 +02:00
Kaveh Vahedipour
a315997617
callback redesign
2016-04-07 10:20:08 +02:00
Kaveh Vahedipour
57619d105c
new document api
2016-04-06 13:43:31 +02:00
Kaveh Vahedipour
3127b4227b
ttl overwright
2016-04-01 14:45:42 +02:00
Kaveh Vahedipour
cfcffb7a41
jslint error in agency test correctedush
2016-03-31 21:32:12 +00:00
Kaveh Vahedipour
219df61370
jslint error in agency test corrected
2016-03-31 20:52:04 +00:00
Kaveh Vahedipour
1d536a2364
jslint error in agency test corrected
2016-03-31 20:24:56 +00:00
Kaveh Vahedipour
394dcdb46b
added more precondition and ttl tests
2016-03-31 16:50:00 +02:00
Kaveh Vahedipour
8ac7491e53
cleaning up log messages. corrected agency test for failed precondition.
2016-03-31 16:10:25 +02:00
Kaveh Vahedipour
2ddc1cd8ec
i am a teapot if value not found and only a single search string is requested
2016-03-31 11:44:02 +02:00
Kaveh Vahedipour
1154a0db96
bug in increment and decrement in agency solved.
2016-03-29 15:49:33 +02:00
Kaveh Vahedipour
a48b795b44
bug in increment and decrement in agency solved.
2016-03-29 15:48:49 +02:00
Jan Steemann
ecf2deadb8
jslint
2016-03-24 19:35:37 +01:00
Kaveh Vahedipour
afad06d1d0
updating tests
2016-03-24 17:54:02 +01:00
Kaveh Vahedipour
7254ad4c9e
Fixing issues
2016-03-23 15:16:47 +01:00
Kaveh Vahedipour
e3cc35ccf6
pulling into devel
2016-03-23 08:43:06 +01:00
Kaveh Vahedipour
4a86d26f19
need to find out how to define the headers properly
2016-03-21 18:23:14 +01:00
Kaveh Vahedipour
eba9a26891
writing test
2016-03-21 08:42:35 +01:00
Kaveh Vahedipour
3beb3450b1
catch malformed input.
2016-03-21 08:00:54 +01:00
Kaveh Vahedipour
3d3fb23a62
writing test
2016-03-18 18:59:06 +01:00
Alan Plum
075ca6a3a5
Request shouldn't set content-type header to "undefined"
...
Fixes #1776 .
2016-03-09 13:10:41 +01:00
Frank Celler
dfa9047484
switch arangosh to new ApplicationFeatures and ProgramOptions
2016-03-08 23:32:43 +01:00
Max Neunhoeffer
c2d3352b94
Add first few tests.
2016-02-29 11:41:47 +01:00
Max Neunhoeffer
f1f53079d4
Start writing actual tests.
2016-02-29 11:25:23 +01:00
Max Neunhoeffer
43308417d2
Fix jslint for unfinished agency tests.
2016-02-29 09:57:19 +01:00
Max Neunhoeffer
8bd4b12d47
Add a first version of agency test framework.
2016-02-26 14:37:55 +01:00
Alan Plum
e228ce0cd0
@arangodb/request: res.body -> res.json
2016-02-11 16:50:07 +01:00
Frank Celler
c2a3f90fde
moved tests into sub-directories
2016-01-24 12:21:04 +01:00
Alan Plum
286a6cedb0
shell-foxx-manager-nightly-spec to mocha
2016-01-12 18:49:27 +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
Alan Plum
8853ede355
org/arangodb -> @arangodb
2015-12-15 15:51:44 +01:00
Frank Celler
4b0911c799
added debugging header x-arango-v8-context
2015-10-07 13:37:35 +02:00
Wilfried Goesgens
a968707134
Fix foxx-manager test for running in arangosh
2015-10-02 15:39:49 +02:00
Frank Celler
c892174c6a
added nightly
2015-09-16 15:14:34 +02:00
jsteemann
de896edb5b
fixed test
2015-09-15 00:16:26 +02:00
Jan Steemann
20c96b5e46
removed locks
2015-07-21 17:34:57 +02:00
Jan Steemann
38258c7938
make test more reliable
2015-05-28 16:18:48 +02:00
Alan Plum
69e63c2c64
Strict mode all the things.
2015-04-09 00:22:05 +02:00
Michael Hackstein
9e99ce2f90
Upgrading and replacing Apps using FoxxManager with broken Apps will now maintain the original App instead of deleting everything
2015-03-06 13:16:50 +01:00
Alan Plum
a11bede5c9
Timeout all the request tests.
2015-03-04 15:43:56 +01:00
Jan Steemann
93750ade9f
fixed test
2015-02-25 11:00:56 +01:00
Michael Hackstein
c5adf7b089
Fixed tests for foxx on multiple databases. And added generated files
2015-02-25 10:44:15 +01:00
Michael Hackstein
545f78f7a7
Added a tests that verifies installing of different foxx apps on different Mountpoints using the same mountpoint
2015-02-20 16:25:57 +01:00
Michael Hackstein
571b146fe3
Fixed a caching problem in the foxx manager
2015-02-19 14:53:24 +01:00
Michael Hackstein
0c78629199
Merge branch 'foxx-pathes' of github.com:arangodb/arangodb into devel
2015-02-16 14:17:52 +01:00
Michael Hackstein
738f77eeaf
Seperated uninstall processes of two apps. The second one will not be uninstalled if the first one fails to
2015-02-16 14:11:31 +01:00
Willi Goesgens
564aedbeb8
Relax timeout for non-existing urls; if running in valgrind this can take long due to context initialisation.
2015-02-13 11:45:19 +01:00
Michael Hackstein
ff1e66f389
Fixed shell foxx manager tests
2015-02-10 10:29:03 +01:00
Willi Goesgens
59892c2b20
Lintify unittests.
2015-02-05 19:32:51 +01:00
Frank Celler
418a673f2b
Merge branch 'devel' of github.com:triAGENS/ArangoDB into request-module
...
Conflicts:
js/node/package.json
2015-01-29 17:20:15 +01:00
Willi Goesgens
9daab0daf2
Relax timeout conditions for error attempts; these may cause crawling of js-foxroutes which can be slow in valgrind.
2015-01-28 09:52:48 +01:00
Alan Plum
b40eb7f0c5
Added tests for querystrings.
2015-01-20 17:16:36 +01:00
Alan Plum
6604e5654c
Adjusted tests for new behaviour.
2015-01-20 17:16:36 +01:00
Alan Plum
efc2026151
Support parsed url objects.
2015-01-20 17:16:35 +01:00
Alan Plum
5accae0af3
More tests.
2015-01-20 17:16:34 +01:00
Alan Plum
ecfaae9b8d
Some tests.
2015-01-20 17:16:34 +01:00
Jan Steemann
c19060da27
changed www.arangodb.org to www.arangodb.org
2014-10-30 19:17:25 +01:00
Jan Steemann
bf1cc16c5f
attempt to make test more deterministic
2014-10-15 12:45:25 +02:00
Jan Steemann
07126d7e3b
attempt to fix host test
2014-09-22 09:14:31 +02:00
Alan Plum
606da1e3e8
Removed jslint headers from server/client/common modules.
2014-09-02 22:14:56 +02:00
Alan Plum
6a3386e55a
Fixed jshint headers.
2014-09-02 22:12:45 +02:00
Max Neunhoeffer
878678e899
Disable changeMode client test in JS unittest framework.
2014-07-02 10:26:28 +02:00
Max Neunhoeffer
e9e2913696
Catch exception in changeMode test.
2014-07-02 10:25:54 +02:00
Max Neunhoeffer
48762f3cc2
Add disabled tests.
...
Disable shell-readonly test on server.
2014-06-30 12:45:10 +02:00
Max Neunhoeffer
16168e642a
Fix test of NoCreate-Mode.
2014-06-30 09:55:16 +02:00
Esteban Lombeyda
4569420fda
all file for tesing the changeMode werde renamed
2014-06-26 15:42:17 +02:00
Esteban Lombeyda
ef111c0f6e
changeMode test is execute only in noncluster environoments
2014-06-26 14:57:01 +02:00
Frank Celler
291c92dbf3
renamed ReadOnly to NoCreate
2014-06-25 14:32:00 +02:00
Jan Steemann
8b9cdbe075
fixed tests
2014-06-18 16:34:11 +02:00
Esteban Lombeyda
2405a5ffa2
read-only: unit tests for client and server side
2014-06-16 15:24:12 +02:00
Jan Steemann
2cb694b2d5
make test restartable
2014-05-17 13:13:30 +02:00
Jan Steemann
b66cdd6ff9
trying to fix test
2014-02-28 22:19:55 +01:00
Jan Steemann
78b4f712f2
temporarily disable failing assertion
2014-02-27 20:12:17 +01:00
Max Neunhoeffer
23ea910235
Merge branch 'sharding' of ssh://github.com/triAGENS/ArangoDB into sharding
2014-02-27 10:55:24 +01:00
Jan Steemann
4de0014ed3
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into sharding
2014-02-27 10:51:20 +01:00
Jan Steemann
1209298476
fixed client tests
2014-02-27 10:49:29 +01:00
Max Neunhoeffer
893e7a87b1
Adjust READMEs to reality.
2014-02-27 08:53:21 +01:00
Jan Steemann
3d5149b022
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into sharding
...
Conflicts:
arangosh/V8Client/arangosh.cpp
2014-02-26 21:34:34 +01:00
Jan Steemann
316f23a9b5
fixed invalid test return values
2014-02-26 20:05:01 +01:00
Jan Steemann
6b0f7da114
fix invalid database name
2014-02-26 19:35:18 +01:00
Max Neunhoeffer
3cb1784430
Reorganise unit tests.
...
In JS framework we now find the available test files by directory
listing. This means one can simply drop a file in the right
directory to add a test.
We use a naming convention for filenames which is explained
in the README files in the corresponding directories.
Old unit tests do not yet use this but do use the new names and
should still work as usual.
2014-02-21 11:24:31 +01:00
Jan Steemann
4a99cde395
jslintified several tests
2014-02-01 01:50:58 +01:00
Jan Steemann
db0c6dacae
added test
2014-01-15 18:09:56 +01:00
Jan Steemann
319f5f8dbd
removed unused variables
2013-11-18 11:41:57 +01:00
Jan Steemann
b97e4c014a
reset vocbase earlier in requests
2013-09-13 15:29:05 +02:00
Jan Steemann
64741f8a8d
added test cases for endpoints
2013-09-13 14:07:30 +02:00
Jan Steemann
b9fbbc85ea
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2013-09-05 12:43:17 +02:00
Frank Celler
bbab760a54
renamed foxx-manager to foxx/manager
2013-09-05 10:02:31 +02:00
Jan Steemann
42b8dfca49
added --server.database option for client tools
2013-09-02 13:02:53 +02:00
Jan Steemann
9b8b030a8a
added several tests for authentication
2013-08-22 11:18:11 +02:00
Jan Steemann
b4d88f3484
added tests
2013-07-27 00:28:24 +02:00
Jan Steemann
e906c8750c
tests for fm
2013-07-27 00:09:42 +02:00
Jan Steemann
cc5ae9d1bc
added purge()
2013-07-26 23:57:00 +02:00
Jan Steemann
6d4a58e625
generate foxx-manager man page
2013-07-26 22:46:58 +02:00
Jan Steemann
e6c28d50b3
cleanup: removed TRI_HAVE_ICU and internal.HAVE_ICU (always true)
2013-03-08 16:09:47 +01:00
Jan Steemann
752b9a4846
fixed tests
2013-01-18 03:45:24 +01:00
Frank Celler
3c21a87366
more cleanup
2013-01-17 16:01:15 +01:00
Jan Steemann
c22feb5963
fixed test
2013-01-15 14:37:08 +01:00
a-brandt
3ce1888f44
added test for internal sorting of skiplists
2012-09-24 16:45:28 +02:00
a-brandt
d51383d081
Added HAS_ICU to shell and console
2012-09-19 11:23:23 +02:00
Jan Steemann
bde11ec3b0
added dedicated test cases for arangosh-only functions
2012-05-31 17:49:49 +02:00