Commit Graph

195 Commits

Author SHA1 Message Date
nathan
3223e34619 Fixed base test info 2020-09-03 15:01:24 +02:00
nathan
16e68ee952 Fixed unit tests 2020-09-03 14:43:01 +02:00
nathan
931b1c4fa1 Fixed unit tests 2020-09-03 14:34:50 +02:00
nathan
8a8dbda3f5 Tweaked logs 2020-09-03 09:52:57 +02:00
nathan
f35f57bd87 Added extra check for out-of-order RMI registrations 2020-09-03 02:41:10 +02:00
nathan
08a72736b9 cleaned up unittests 2020-09-03 02:40:53 +02:00
nathan
4504f7167e Updated unit tests to only have serialization registration on the server 2020-09-02 15:02:52 +02:00
nathan
23de6725fc Converted java -> kotlin tests 2020-09-02 03:21:09 +02:00
nathan
8caef6611c Cleaned up unit tests 2020-09-02 03:20:29 +02:00
nathan
27be7d996a Code cleanup 2020-09-01 14:37:43 +02:00
nathan
780e09dd8d Changed test count for sync 2020-09-01 09:12:58 +02:00
nathan
9ec8f4efe3 Better support for sending RMI objects 2020-09-01 09:12:30 +02:00
nathan
a20c55a864 Added rmi registration order checks 2020-09-01 06:42:09 +02:00
nathan
9a445fe261 Removed unnecessary kryo registration, added spacing 2020-09-01 06:11:52 +02:00
nathan
32e9a68222 WIP @rmi annotations 2020-08-31 14:52:42 +02:00
nathan
ab2395845b Moved serialization validation to it's own test (it's has nothing to do with RMI), refactored RmiTest 2020-08-30 23:16:09 +02:00
nathan
d325cdb5f7 Added edge case for RMI registration 2020-08-28 10:22:25 +02:00
nathan
8ae9b9ddbb Code cleanup 2020-08-28 10:21:54 +02:00
nathan
46bee0b977 Cleaned up tests 2020-08-27 13:55:32 +02:00
nathan
59d58f27e8 More conversion to kotlin 2020-08-27 13:46:14 +02:00
nathan
eceb9bbcee fixed test 2020-08-27 02:34:48 +02:00
nathan
9478acc0f4 cleaned up logs 2020-08-27 02:34:36 +02:00
nathan
e995dbdef5 Code cleanup 2020-08-27 00:47:51 +02:00
nathan
b6f337d0e6 Added RMI serialization syncrhonization between the server/client during the handshake. Fixed serialization for sending RMI objects in both directions. Removed NetworkSerializationManager, and instead pass the Serialization implementation. 2020-08-26 15:39:29 +02:00
nathan
42664bfdfe Fixed issues with restarting a client, notifyConnect/Disconnect now ALWAYS happen on a new coroutine 2020-08-25 17:46:36 +02:00
nathan
389af93f0a More work done on cleaning up stack traces 2020-08-22 22:58:50 +02:00
nathan
8bca94683f Added correct proxy+suspend example 2020-08-22 20:43:03 +02:00
nathan
4a033651cc Cleaned up RMI coroutine suspension 2020-08-22 19:29:46 +02:00
nathan
698701dfdc rmiID is ALWAYS on the right for packed IDs. Fixed rmiID unsigned operations. WIP suspend proxy invocations 2020-08-20 13:08:36 +02:00
nathan
ee5e9eb24e Updated copyright notices in files 2020-08-19 15:35:45 +02:00
nathan
c6ad8e9829 Added proper proxy object tests 2020-08-19 01:30:44 +02:00
nathan
60dd1971c7 Added delayed invocation spam test 2020-08-19 01:30:21 +02:00
nathan
d611174bad code polish 2020-08-18 23:18:35 +02:00
nathan
e109762cb3 Added suspend methods for testing 2020-08-18 23:18:27 +02:00
nathan
f4bffabbcf code polish 2020-08-18 23:17:49 +02:00
nathan
29367c4d5c fixed warnings 2020-08-18 23:16:54 +02:00
nathan
7df974ce40 Added override test 2020-08-18 01:50:20 +02:00
nathan
da5264c542 Fixed RMI short/int packing for negative numbers 2020-08-18 01:49:19 +02:00
nathan
305e3bb085 moved aeron IO 2020-08-15 13:27:09 +02:00
nathan
618168b68b Added multi-jvm registration validation check. Fixed bug with registration detection for RMI types 2020-08-13 16:53:50 +02:00
nathan
a58af6ba00 Cleaned up log message. Now supports constructor parameters for creating RMI objects 2020-08-13 14:39:19 +02:00
nathan
2651b791e4 Added delay invocation test 2020-08-13 11:06:44 +02:00
nathan
d2266ba8df Added RMI init validation test 2020-08-13 01:02:30 +02:00
nathan
d9e0ff2e05 Added exception info to test 2020-08-13 01:02:08 +02:00
nathan
f1b7ce2685 Fixed test timeout 2020-08-13 01:01:27 +02:00
nathan
994fa8d196 WIP unit tests. Renamed package, so stacktrace cleanup works correctly (it's based on package name) 2020-08-12 23:38:56 +02:00
nathan
1608c0d6a2 WIP - finished global/connection specific RMI, IPC aeron connectivity 2020-07-06 16:36:56 +02:00
nathan
fc7baa6c8d WIP changing the network lib from netty -> AERON 2020-07-03 01:49:00 +02:00
nathan
794965348a before kotlin conversion 2020-06-04 23:24:24 +02:00
nathan
8a2cac9ed3 Added RMI invocation spam test 2020-05-08 17:13:36 +02:00
nathan
8356b20a3b Fixed shutdown order when stopping tests (clients shutdown before servers) 2020-05-08 17:08:39 +02:00
nathan
ee07b10e82 Suppress reflection warnings during tests 2020-05-08 01:14:18 +02:00
nathan
693482dcff Fixed test for TCP 2020-05-08 01:13:32 +02:00
nathan
2dfea11c09 Added more info if the test fails 2020-05-08 01:13:20 +02:00
nathan
5810833f7b Relaxed how many runs for rmi delayed invocation test 2020-05-07 22:08:21 +02:00
nathan
2447a6d8a7 Added RMI delayed invocation test 2020-05-07 17:15:47 +02:00
nathan
1fcce9f2d0 Added RMI validation test (for testing RMI validation fragmentation) 2020-05-07 14:57:04 +02:00
nathan
bbd5aa0f59 Added Firewall test 2019-06-14 20:34:45 +02:00
nathan
99d9c743cb Added logger to unit test 2019-06-14 12:39:23 +02:00
nathan
a595ac44d1 Fixed reconnect test to use countdown latch instead of wait/notifyAll. 2019-06-14 03:01:57 +02:00
nathan
8bd52dd202 Upgrade to Kryo 5rc2, updated to use utilities project as a maven release instead of compiling specific files 2019-03-26 20:47:40 +01:00
nathan
db69e2f9c8 Updated copyright/formatting 2019-01-25 16:27:01 +01:00
nathan
2a4ae99390 RMI Optimizations, merged/renamed primary serialization interface. 2019-01-25 16:17:15 +01:00
nathan
e6cc3fd851 Reconnect test fails easier now 2019-01-25 16:14:00 +01:00
nathan
8c9140b3f6 Simplified shutdown/wait methods for unit testing 2019-01-25 16:13:41 +01:00
nathan
f2adf6c8b8 Fixed issues with unit tests 2019-01-25 15:59:11 +01:00
nathan
11578b817d Fixed threading deadlock issues in some circumstances 2019-01-22 14:41:40 +01:00
nathan
7f4ce13657 Fixed issues when trying to connect and it times out 2019-01-22 14:41:12 +01:00
nathan
0eb19e8c3f Clean up and optimize RMI network stack. 2019-01-20 22:44:27 +01:00
nathan
5e8e475747 Fixed issues with PING for local tests 2019-01-16 11:12:27 +01:00
nathan
9c69fba19d Added more comments w.r.t. testing for screwed up class registrations 2019-01-16 10:51:07 +01:00
nathan
c326833208 RMI test code polish 2019-01-11 09:59:40 +01:00
nathan
7b89fc6443 Added more explicit details on why UDP can fail 2019-01-11 09:53:11 +01:00
nathan
24d68a1614 Fixed serialization.Default method params. 2019-01-09 23:41:42 +01:00
nathan
05f3272f96 Sending a class over the network always requires explicit registration now (previously, RMI message implementations did not require explicit registration) 2019-01-09 23:41:18 +01:00
nathan
515ee83de4 Added appropriate note on reconnect test (where it sometimes fails with UDP) that it can fail with UDP because it's unreliable - even on loopback 2019-01-09 23:09:24 +01:00
nathan
c609bb7328 Fixed issue with registration timeout == 0 (it will now wait indefinitely) 2019-01-09 19:54:37 +01:00
nathan
448223f4c8 Removed test (with serr comment) because javax.crypto is not available in java 6 2019-01-09 19:53:12 +01:00
nathan
02cf3ae97c Updated test for newer versions of kryo 2019-01-09 19:52:42 +01:00
nathan
82e4478d45 Added comments 2019-01-09 19:51:39 +01:00
nathan
3f003995b6 Moved DNS to it's own project 2019-01-09 18:19:44 +01:00
nathan
33853d44e3 RMI is now more robust and forgiving 2019-01-09 18:19:20 +01:00
nathan
46831b10b9 Changed RMI exception handling. If you don't EXPLICITLY transmit
exceptions AND the method does not throw an exception, then exceptions
will not be returned.
2018-04-04 23:33:35 +02:00
nathan
d3fbefd437 code polish 2018-04-04 23:32:22 +02:00
nathan
fbb8bf9d6f changed logging to debug 2018-04-04 15:30:31 +02:00
nathan
f4b4efe714 Added socket connect test 2018-04-04 15:02:56 +02:00
nathan
673e9300ff tweaked tests 2018-04-04 15:02:45 +02:00
nathan
d9ca5b93df Fixed issues with UDP connection handling. Fixed issues with
registration order. Fixed issues with connection shutdown. Fixed
issues with explicit flush(). Added support for UDP session handling.
Updated broadcast discovery to return ports used. Added
connection.send(), which will use the best option to send
 data (TCP first, otherwise UDP).
2018-04-01 14:51:13 +02:00
nathan
eaabd91080 DNS Flags.isFlag() will not throw an exception, it will only return true
or false.
2018-03-29 16:08:00 +02:00
nathan
f889399ecf WIP cleaning up DNS flags 2018-03-28 14:27:37 +02:00
nathan
9fd33f242f Cleaned up reconnect test 2018-03-27 23:02:23 +02:00
nathan
1f2b78da7d Added name.parent(n) method to get the parent domain of a domain 2018-03-04 13:45:53 +01:00
nathan
f4e94f2562 Initial implementation of UDP session channels. todo: closing them when
inactive  (via timeouts, since udp doesn't have sessions). Can now have
3 types of connections, TCP, UDP, and TCP+UDP
2018-02-16 21:03:07 +01:00
nathan
3d6f4d81f8 Changed ReuseTest -> ReconnectTest 2018-01-30 23:51:13 +01:00
nathan
e272f0e004 Changed ReconnectTest -> DisconnectReconnectTest 2018-01-30 23:50:44 +01:00
nathan
dc54c9b226 Improved memory/gc usage, replaced generic hashmaps with implementation
specific versions.
2018-01-28 17:56:36 +01:00
nathan
0404ff408d Reworked RMI so it will not crash anything on the "remote" side. There
will be errors emitted, and the "local" side will receive a null object
+ invalid RMI ID.
2018-01-28 10:23:12 +01:00
nathan
10d8cc6061 Added RMI ID exhaustion test 2018-01-28 01:12:27 +01:00
nathan
5a64414e7f Cleaned up exceptions in tests 2018-01-27 23:06:02 +01:00
nathan
9ec7edba36 Changed StringBuffer -> StringBuilder 2018-01-27 21:45:21 +01:00