Commit graph

449 commits

Author SHA1 Message Date
Manfred Karrer
50d360c67d Increase CREATE_SOCKET_TIMEOUT_MILLIS 2016-06-13 20:12:51 +02:00
Manfred Karrer
38589f51ea Add closeConnectionReason to log 2016-06-13 19:46:15 +02:00
Manfred Karrer
30d0e39f41 Add backDate 2016-06-13 19:45:57 +02:00
Manfred Karrer
bf86f0a7e4 Back date data of object on disconnect, and only remove object if is is expired 2016-06-13 19:44:51 +02:00
Manfred Karrer
500fa2826e Add toString 2016-06-13 19:44:23 +02:00
Manfred Karrer
ff73ffc56c Reduce MAX_MSG_SIZE, increase MAX_MSG_SIZE_GET_DATA, increase MSG_THROTTLE_PER_SEC, reduce SOCKET_TIMEOUT to 90 sec. 2016-06-13 19:44:15 +02:00
Manfred Karrer
7c26b5f33d Increase SOCKET_TIMEOUT to 2 min. 2016-06-12 17:11:50 +02:00
Manfred Karrer
67a3c5d502 Improce logging 2016-06-12 14:50:06 +02:00
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