Commit graph

541 commits

Author SHA1 Message Date
Manfred Karrer
11e50ae3bc Move stresstest logs to static Log method 2016-06-12 14:25:15 +02:00
Manfred Karrer
775227b902 Enable doRemoveProtectedExpirableData again on close connection 2016-06-12 12:46:12 +02:00
Manfred Karrer
663b505410 Change isIntended falt to false for RULE_VIOLATION 2016-06-12 12:43:30 +02:00
Manfred Karrer
0a36d0b241 update scripts, add log 2016-06-11 13:39:39 +02:00
Manfred Karrer
0bc9a8a7f8 Dont remove offer at EOFException 2016-06-10 22:28:07 +02:00
Manfred Karrer
03171abd28 Add mem. log 2016-06-10 21:22:28 +02:00
Manfred Karrer
f6d595653f Add memory logs, log when removed on disconnect 2016-06-10 21:21:10 +02:00
Manfred Karrer
8d39c891e2 Add time to logs 2016-06-09 22:26:49 +02:00
Manfred Karrer
d65e020ece Log nr peers 2016-06-09 20:37:32 +02:00
Manfred Karrer
ef2e3e593e Add maxConnection program arg 2016-06-09 18:44:15 +02:00
Manfred Karrer
12e56fbd8b Add maxConnection program arg 2016-06-09 18:40:19 +02:00
Manfred Karrer
fd4b6a02cd add concrete stress test onion address 2016-06-09 18:40:06 +02:00
Manfred Karrer
197efe1a61 Don't use warn log level for msg: stopped at onSuccess: Message not broadcasted because we have stopped the handler already. 2016-06-04 18:40:44 +02:00
Manfred Karrer
b1a8cec3f8 Add null checks 2016-06-03 12:02:24 +02:00
Manfred Karrer
eccfea70fb Added stresstest flags to p2p network version and seed node repo 2016-05-27 14:34:25 +02:00
Manfred Karrer
638d1ab916 Version 0.4.8 (bugfix with XMR) 2016-05-25 21:13:59 +02:00
Manfred Karrer
8dd9069ecb Removed STRESS_TEST flag 2016-05-25 17:13:53 +02:00
Manfred Karrer
a9de00f34b v0.4.7 2016-05-25 15:56:05 +02:00
Manfred Karrer
39d6c1dc9b Dont remove listener on fault 2016-05-25 15:52:40 +02:00
Manfred Karrer
551eb5b648 Use creation data for TTL check 2016-05-24 18:55:55 +02:00
Manfred Karrer
ad33d78fcb Relax rule violations 2016-05-24 18:44:50 +02:00
Manfred Karrer
c0f2bf656b Change log level 2016-05-22 03:21:34 +02:00
Manfred Karrer
b4c9356992 Add higher max size for getDataResponse, accept 2 rule violations for max size 2016-05-22 00:25:24 +02:00
Manfred Karrer
ea818cf66b Improve logging, fix toString 2016-05-22 00:24:38 +02:00
Manfred Karrer
77a83795df Remove unneeded check, change log level 2016-05-21 21:49:59 +02:00
Manfred Karrer
96fce3b5b4 Add corrupted data exception handling 2016-05-21 21:34:06 +02:00
Ivan Vilata-i-Balaguer
dc6676d98f Document network stress test class for its invocation 2016-05-18 13:33:07 +02:00
Ivan Vilata-i-Balaguer
43fa580e8d Remove computation delay from ideal max delay of mailbox stress test 2016-05-18 13:15:03 +02:00
Ivan Vilata-i-Balaguer
47af7fca70 Print time needed to complete mailbox stress test 2016-05-18 13:11:44 +02:00
Ivan Vilata-i-Balaguer
b4b4071436 Use meaningful timeouts and constants in network stress test 2016-05-18 12:55:26 +02:00
Ivan Vilata-i-Balaguer
2a24ce94a3 Constant for mailbox message delay in network stress test 2016-05-18 12:40:13 +02:00
Ivan Vilata-i-Balaguer
d1c6d4ad9c Rearrange network stress test code for clarity
No actual changes to code.
2016-05-18 11:23:21 +02:00
Ivan Vilata-i-Balaguer
8c8fbd1947 Comment out some debug prints in mailbox network stress test 2016-05-18 10:47:03 +02:00
Ivan Vilata-i-Balaguer
cb14a7961b Show progress in mailbox network stress test 2016-05-18 10:41:47 +02:00
Ivan Vilata-i-Balaguer
1a496e0963 Wait for mailbox send before stopping peer in network stress test
Otherwise the peer may be already stopped before sending.
2016-05-18 10:39:07 +02:00
Ivan Vilata-i-Balaguer
ea35ace8db Report failed mailbox messages in network stress test 2016-05-18 10:19:14 +02:00
Ivan Vilata-i-Balaguer
1a5960124c Wait a little more for node bootstrap in network stress test 2016-05-18 10:16:36 +02:00
Ivan Vilata-i-Balaguer
976d9cb333 Implement sending and receiving mailbox messages in network stress test
Not working thoug, lots of "Message not broadcasted because we have stopped the handler already.".
2016-05-17 14:06:07 +02:00
Ivan Vilata-i-Balaguer
14374fed6d Do not send direct message to oneself in network stress test 2016-05-17 11:27:46 +02:00
Ivan Vilata-i-Balaguer
bad681d8e8 Remind not to send direct message to oneself in network stress test 2016-05-17 10:33:02 +02:00
Ivan Vilata-i-Balaguer
1f6ea10bd6 Check for timeout when starting and stopping nodes in mailbox stress test 2016-05-17 09:13:28 +02:00
Ivan Vilata-i-Balaguer
554652c6fe Factor out environment integer parsing in network stress test 2016-05-17 09:13:28 +02:00
Ivan Vilata-i-Balaguer
d0a54a476c Get number of mailbox messages from environment, create properly sized latch 2016-05-17 09:13:28 +02:00
Ivan Vilata-i-Balaguer
3ab270f5c5 Skeleton of mailbox send stress test 2016-05-17 09:13:28 +02:00
Ivan Vilata-i-Balaguer
c27aabda2e Some comments on test progress indicators 2016-05-17 09:13:28 +02:00
Ivan Vilata-i-Balaguer
123928a7a2 Remove unused function for test progress reporting 2016-05-17 09:13:28 +02:00
Ivan Vilata-i-Balaguer
16e2e03a98 Only use numbers in test progress reporting, simpler and cleaner 2016-05-17 09:13:28 +02:00
Ivan Vilata-i-Balaguer
7f1204e09e Simplify test progress reporting, force printing on last entry 2016-05-17 09:13:28 +02:00
Ivan Vilata-i-Balaguer
53019a88f2 Split latch count down and progress bar printing methods 2016-05-17 09:13:28 +02:00
Ivan Vilata-i-Balaguer
dfaf6302b9 Throttle progress printing in network stress test 2016-05-17 09:13:28 +02:00