Jeremy Lakeman
6b17cd580f
Enable rhizome HTTP transfers over loopback while using local sockets
2014-03-05 09:55:23 -08:00
Andrew Bettison
015ed0b181
Refactor to rename "Rhizome HTTP server" to "HTTPD server"
...
Move HTTPD start/stop/dispatch logic from rhizome_httpd.c into new
httpd.c
Rename config.debug.httpd -> config.debug.http_server
Rename config.debug.rhizome_httpd -> config.debug.httpd
Rename config.debug.rhizome_nohttptx -> config.debug.nohttptx
2014-02-03 15:56:07 +10:30
Jeremy Lakeman
4bb3336b33
Generalise method for defining multiple interfaces
2014-01-09 15:01:38 +10:30
Andrew Bettison
a882b8ebc6
Fix Rhizome Direct stress test - longer command timeouts
...
Since a default timeout was added to the execute() primitive
(b1b5a79
) the Rhizome Direct test fails.
2013-11-20 15:06:07 +10:30
Andrew Bettison
c5014baf62
Improve test framework: better fork functions
...
Replace forkKillAll with fork_terminate_all
Replace forkWaitAll with fork_wait_all
Add fork_terminate and fork_wait functions
Introduce fork labels '%<alphanumeric>' as arguments to all fork
functions
Treat a forked process exit status 143 (killed with SIGTERM) as a
failure or error -- it happens when a forked process is terminated
using fork_terminate or fork_terminate_all
2013-11-20 15:01:37 +10:30
Andrew Bettison
640a61cbe5
Add 'debug.rhizome_httpd' config option
2013-10-16 11:23:45 +10:30
Andrew Bettison
4851eaf536
Issue #20 : remove unique socket names from tests
...
The recent work on abstract local socket names means that every instance has
its own unique abstract socket name anyway, so there is no need for test
scripts to use $TFWUNIQUE in MDP and Monitor socket names to avoid
intereference when run concurrently.
2013-09-20 14:24:55 +09:30
Jeremy Lakeman
0f2d082a0d
Add stress test that sends lots of messages while transferring
2013-08-05 11:46:30 +09:30
Jeremy Lakeman
6254e0d81a
Reduce IO strain from stress test while increasing bundle count
2013-06-20 11:10:02 +09:30
Jeremy Lakeman
40364be92f
Fix and improve rhizome stress test
...
- reduce dependance on routing
- fail immediately if a servald instance crashes
2013-06-18 16:33:41 +09:30
Andrew Bettison
2eb930b94c
Improve Rhizome Direct stress test
...
Reduce log verbosity, report extra files received by nodes, re-order
push/pull/sync process start order to increase chance of cross-fetching.
2013-02-11 18:39:46 +10:30
Andrew Bettison
cb288d8b9c
Fix new Rhizome Direct stress test
...
Now PASSES with Jeremy's recent fix, but FAILED before
2013-02-08 19:24:03 +10:30
Andrew Bettison
b5a55c8c08
Add Rhizome Direct stress test
...
Use new test framework fork() support to run several rhizome direct
push/pull/sync processes at once to a single server.
Speed up setup for Rhizome Transfer stress test.
2013-02-08 18:46:30 +10:30
Andrew Bettison
7a8323b31d
Improve Rhizome stress tests
...
Rename tests to start with "Stress" prefix
Refactor StressRhizomeAdd test to use conventional utilities and be more
readable. Remove trailing "sleep 10".
2013-02-08 12:08:24 +10:30
Andrew Bettison
c804b9d5ce
Fix copyright messages in test scripts
2013-02-06 18:55:31 +10:30
Jeremy Lakeman
8b045dd1a6
Extract files based on the manifest id
...
Renamed rhizome extract file to rhizome dump file
Added rhizome extract file [manifest] [filepath] [pins]
Modified tests to use the appropriate command, assuming that MeshMS payloads will be encrypted
2013-01-02 12:58:05 +10:30
Jeremy Lakeman
f906d5a46c
Test each file immediately after adding
2012-12-28 12:00:43 +10:30
Jeremy Lakeman
3f45623d04
New stress test, rhizome add while transferring
2012-12-27 16:51:31 +10:30
Andrew Bettison
5985df751d
Overhaul debug flags
...
Replace debugflags_t and DEBUG_XXX bit masks with config schema "debug.xxx"
entries.
No more support for "debug.all".
2012-12-11 15:59:46 +10:30
Andrew Bettison
8425882ffc
Merge branch 'newconfig' into 'master'
...
Conflicts:
commandline.c
conf.h
dataformats.c
log.h
overlay_address.c
overlay_interface.c
packetformats.c
rhizome.c
serval.h
tests/directory_service
vomp_console.c
2012-12-07 14:09:55 +10:30
Andrew Bettison
fe042bfa64
Servald 'config [ set|del ... ] ... ' command
...
Update all test scripts to avoid repetitive executeOk_servald invocations.
2012-12-06 12:31:19 +10:30
Andrew Bettison
4985359158
Fix 'rhizomestress' test failures
2012-12-05 16:11:23 +10:30
Andrew Bettison
548b837d2a
Rhizome stress test: increase timeout from 3 to 10 minutes
2012-11-05 14:45:23 +10:30
Andrew Bettison
03f71dcccf
Improve rhizome stress test
...
Generate test files from 2KiB to 32MiB in size, instead of all about 13 bytes
in size. Guess what? Found a bug!
2012-10-31 18:17:06 +10:30
Andrew Bettison
af1a6c4297
Split Rhizome stress test into separate file
2012-10-18 17:46:17 +10:30