Commit Graph

325 Commits

Author SHA1 Message Date
Robinson
e2ce6a9f38
Added aeron driver info 2022-06-24 13:12:36 +02:00
Robinson
20fcabaf8a
Fixed issue with RMI from a server -> client, where the RMI proxy objects were getting overridden by different connections because the RMI object cache was shared between all connections in the server. 2022-06-16 18:04:52 +02:00
Robinson
ef810dcff7
cleaned up comments 2022-06-14 11:24:19 +02:00
Robinson
69be9c83ae
Streaming data test uses random data and a larger size 2022-06-11 23:54:40 +02:00
Robinson
06694cc0fb
More complete ping test 2022-06-11 23:54:23 +02:00
Robinson
c7467780e7
more exact unit tests for listeners 2022-06-06 11:41:46 +02:00
Robinson
e8f7c8d8d3
Cleaned up log messages, cleaned up handshakes, cleaned up polling code. Added unit test for concurrent client connections 2022-05-30 02:55:07 +02:00
Robinson
b0a1780d3f
code polish 2022-05-25 00:47:36 +02:00
Robinson
25b72001ef
Added MultiConnectTest.kt 2022-04-04 23:25:07 +02:00
Robinson
753d23d2ca
Set RMI tests to be trace log 2022-04-04 23:22:59 +02:00
Robinson
32c1de6269
WaitForThreads will ALSO always stop the endpoints 2022-04-04 23:22:39 +02:00
Robinson
655cd02a30
added status output during connect 2022-04-04 23:22:18 +02:00
Robinson
e61f3e4711
Moved multiconnect to it's own test file 2022-04-04 23:22:04 +02:00
Robinson
1747701037
Added comments 2022-04-04 23:21:44 +02:00
Robinson
22e7acab46
Added a streaming protocol (currently in-memory only) for sending data that large, or generally exceeds aeron's max transmit payload size 2022-04-04 14:48:38 +02:00
Robinson
6355dfced7
Fixed RMI async unit test 2022-03-15 14:44:50 +01:00
Robinson
04fa453ff3
Merge remote-tracking branch 'origin/master' 2022-03-15 12:53:53 +01:00
Robinson
c5cecac7b5
Reverted IPC filter unit test 2022-03-15 12:47:19 +01:00
Robinson
29f71f425f
Changed loopback -> localhost (loopback is invalid on macos) 2022-03-15 12:44:52 +01:00
Robinson
3563888c91
Fixed connection filter test for server 2022-03-15 10:31:36 +01:00
Robinson
9e52c398d6
Updated unit tests 2022-03-15 09:46:13 +01:00
Robinson
c8f4ba2b01 Now using the storage project 2021-08-23 00:52:16 -06:00
Robinson
a75ece2a39 Now use the storage project 2021-08-23 00:42:02 -06:00
Robinson
d4efe418e6 added more unit tests 2021-08-20 08:51:19 -06:00
Robinson
7f16ebcac0 WIP storage sub-system 2021-08-19 00:13:47 -06:00
Robinson
6a7fe7b1dc Added support for filtering aeron driver exceptions, onError listeners are now notified if there is an aeron driver error. 2021-07-26 20:40:43 +02:00
Robinson
7d2263b47b Fixed shutdown performance/bug 2021-07-26 20:16:10 +02:00
Robinson
d482d3e43d connections are now created via a unit function instead of overriding the method. 2021-07-09 15:17:00 +02:00
Robinson
c725806727 Cleaned up heap vs stack access, fixed ping support, fixed coroutine errors during serialization 2021-07-08 14:33:24 +02:00
Robinson
632603c8c7 WIP RMI and message performance/ping testing 2021-07-07 21:32:36 +02:00
Robinson
33f3ca8ebc Supports the newest version of Aeron. Updated error log usage and notifications. Refactored RMI API (now RMI is accessible via '.rmi' calls). Updated unit tests. Added 'delete' to rmi methods (opposite of 'create'). 2021-07-07 00:04:47 +02:00
Robinson
8550a24c04 fixed warnings 2021-07-02 16:19:21 +02:00
Robinson
b3f1ecf368 Safer blocking calls 2021-07-02 16:18:40 +02:00
Robinson
cf00451465 Updated test assert 2021-07-02 11:53:52 +02:00
Robinson
bcad2f8d12 WIP unit tests with updated RMI api 2021-07-02 11:40:20 +02:00
Robinson
ef4b76d303 Changed scope for onMessage/disconnect/connect/etc callbacks from 'connection' -> 'this'. 2021-04-30 22:39:36 +02:00
Robinson
cdeb4fce63 Fixed logger for Spam test 2021-04-30 22:17:26 +02:00
Robinson
048b780e2f Added tests for restarting a client via client.close(). connection.close() with a onDisconnect listener also works. The instance that started the aeron instance, is the one that cleans it up 2021-04-30 21:18:57 +02:00
Robinson
4b984f03e4 Changed default ports 2021-04-30 20:29:56 +02:00
Robinson
c529bde55b updated tests to latest source 2021-04-30 18:22:38 +02:00
Robinson
0da8986258 code cleanup 2021-04-29 11:37:13 +02:00
Robinson
3b1d699463 Fixed unit test for shared storage 2021-04-29 11:28:46 +02:00
Robinson
6f43b2bcec Actually run configuration lambda 2021-04-29 11:26:34 +02:00
Robinson
a5a951f863 removed runBlocking, as it's no longer necessary 2021-04-29 11:26:19 +02:00
Robinson
62deb13d5a Added easy ability to wait forever when unit testing 2021-04-29 11:03:47 +02:00
Robinson
a3b5cbcc89 WIP ping functionality 2021-04-29 10:25:25 +02:00
Robinson
1e077c2d98 Added ability to add to an endpoint configuration 2021-04-29 10:02:22 +02:00
Robinson
2828758fee Updated how to access storage (via a property now) 2021-04-29 10:01:07 +02:00
Robinson
065b310fd4 code polish 2021-04-29 01:48:41 +02:00
Robinson
f53e705432 Fixed "fast" reconnect issues, where sometimes the media driver would be disconnected from the aeron driver 2021-04-27 13:57:47 +02:00
Robinson
ed76209925 Changed RMI object callback to only be "this", instead of passing the (internal) rmiID around. The RMI-ID is used for internal rmi messages, so that a request+response can be paired. 2021-04-27 13:31:18 +02:00
Robinson
29b0ee8199 Fixed connection filter on connect 2021-04-27 10:28:18 +02:00
Robinson
97eb299ed4 Converted more unit tests to kotlin 2021-04-25 22:01:36 +02:00
Robinson
31cd0b630a Rename .java to .kt 2021-04-25 22:01:35 +02:00
Robinson
bcbdaf167f code/library cleanup 2021-04-24 00:09:11 +02:00
nathan
96b4a78104 Updated to use the object pool. Release 5.0! 2020-10-06 02:08:12 +02:00
nathan
5c7a2b5d2d Added memory testing 2020-09-29 15:43:37 +02:00
nathan
01e6b5a150 Changed auto-boxing for unit tests 2020-09-29 15:24:41 +02:00
nathan
69681f626a Added extra IPC/UDP test 2020-09-28 19:37:40 +02:00
nathan
49eb431da0 Added test for when the Settings Store is shared 2020-09-25 19:53:41 +02:00
nathan
6d63401fba Suppressed warnings 2020-09-25 14:51:35 +02:00
nathan
9bac797541 code polish 2020-09-23 16:00:47 +02:00
nathan
feb146e8d8 Code polish 2020-09-23 16:00:29 +02:00
nathan
25c20fbf3f Removed timeout for waiting for threads (it should close naturally, otherwise there are problems) 2020-09-23 16:00:16 +02:00
nathan
4008dd6470 wait for close on server 2020-09-22 17:40:39 +02:00
nathan
dc30c18e97 Changed how internal storage operates (major performance improvement), added more types of storage. Set the default to PropertyStore (so settings are saved in a property file) 2020-09-19 19:41:39 +02:00
nathan
50783a7ae9 reworked how stopDriver operates 2020-09-19 19:38:55 +02:00
nathan
3b9eb00de9 Added unit test for manually starting/stopping the aeron media driver outside of the network 2020-09-15 12:01:29 +02:00
nathan
d4d8ddefc1 Fixed compile warnings 2020-09-11 11:06:03 +02:00
nathan
5f228cf7b4 Fixed log messages 2020-09-11 10:28:54 +02:00
nathan
77d114e525 Added back RMI test for multi-jvm 2020-09-11 03:30:27 +02:00
nathan
495bf8931f Added test for media driver disconnects in same JVM 2020-09-11 03:30:16 +02:00
nathan
58a5d31df4 code polish 2020-09-11 01:14:52 +02:00
nathan
09c895e981 Added test for IPC -> UDP fallback 2020-09-10 14:40:09 +02:00
nathan
8885107052 Fixed warnings 2020-09-10 14:39:39 +02:00
nathan
9c34b412b1 Added test for taking kryos 2020-09-10 02:15:19 +02:00
nathan
d0787fc12f Made logging easier 2020-09-09 12:30:07 +02:00
nathan
b7da14834e Added support for IPv6. 2020-09-09 01:33:09 +02:00
nathan
1e36cba8f2 Change back ipc stuff 2020-09-04 13:20:48 +02:00
nathan
818687c0d8 Fixed logging for tests 2020-09-03 15:01:52 +02:00
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