Alexey Rybalchenko
8cfc04721e
Add unit tests for regions
2020-05-11 12:02:19 +02:00
Alexey Rybalchenko
330687772f
Add SubscriptionHeartbeat command
2020-04-10 18:40:14 +02:00
Alexey Rybalchenko
274ba5ec00
Commands: Add task id to subscription status cmds
2020-04-07 14:44:51 +02:00
Alexey Rybalchenko
a20ac7af08
SDK: Refactor StateChangeOp and add path parameter
2020-03-24 04:07:58 +01:00
Alexey Rybalchenko
c1719eb285
SDK Commands: remove heartbeat commands
2020-02-21 18:37:33 +01:00
Alexey Rybalchenko
e221242f9a
Use SDK in dds-command-ui
2020-02-21 18:37:33 +01:00
Alexey Rybalchenko
e853d121bf
SDK: Add garbage collection for completed ops
2020-02-21 18:37:33 +01:00
Alexey Rybalchenko
119cbe37f1
SDK: Add WaitForState()
2020-02-21 18:37:33 +01:00
Alexey Rybalchenko
0e72a9bf54
SDK::DDSSession: remove channel id to task id association
2020-02-21 18:37:33 +01:00
Dennis Klein
278cd62049
Fix ODR violations for unity builds
2020-02-08 18:58:23 +01:00
Dennis Klein
19ab8bba3b
SDK: One more test
2020-01-27 20:50:11 +01:00
Alexey Rybalchenko
92af823135
SDK: Allow passing path to Set/GetProperties
2020-01-27 20:50:11 +01:00
Alexey Rybalchenko
264a178424
SDK: Add Topology::AsyncGetProperties
...
Co-Author: Dennis Klein <d.klein@gsi.de>
2020-01-27 20:50:11 +01:00
Dennis Klein
1c8ad03f3c
SDK: Add Topology::AsyncSetProperties
...
Co-Author: Alexey Rybalchenko <alexryba@gmail.com>
2020-01-27 20:50:11 +01:00
Alexey Rybalchenko
684e711b8b
Shmem: track number of message objects, throw if non-zero at reset
2019-12-20 14:04:58 +01:00
Alexey Rybalchenko
5b5fecc994
Extend multipart tests to include single part, transfer across >1 channel
2019-12-20 14:04:58 +01:00
Dennis Klein
50be386191
Support and require DDS 3.0
2019-12-13 14:52:36 +01:00
Alexey Rybalchenko
c34d1f0946
Cleanup includes
2019-10-29 20:06:31 +01:00
Alexey Rybalchenko
72a8e9b33c
Commands: support JSON in addition to binary
2019-10-10 10:55:20 +02:00
Alexey Rybalchenko
7502f4b424
Add unit tests for commands
2019-09-30 12:18:49 +02:00
Alexey Rybalchenko
9544d9665b
DDS plugin: Prefix channel properties
2019-09-18 18:06:46 +02:00
Alexey Rybalchenko
870d0deae1
Add test for sdk::GroupByCollectionId(TopologyState)
2019-09-05 21:59:37 +02:00
Alexey Rybalchenko
2973ce0352
Add collections to test topology
2019-09-05 21:59:37 +02:00
Dennis Klein
1c49dde668
SDK: Fix data races on the local semaphores
2019-09-04 21:17:35 +02:00
Dennis Klein
8057b8ae33
Tests.SDK: Fix formatting
2019-09-04 21:17:35 +02:00
Dennis Klein
da28b85497
Tests.SDK: Add optional DDS Tools API stability tests
2019-09-04 21:17:35 +02:00
Dennis Klein
33b5a2a342
SDK: Require DDS 2.5.42 and adapt to most recent API change
2019-09-04 21:17:35 +02:00
Dennis Klein
fd77f2b729
SDK: Add usage examples (and tests)
2019-09-04 21:17:35 +02:00
Dennis Klein
0d182dc18f
fairmq: Fix -Wdefaulted-function-deleted
2019-09-04 21:17:35 +02:00
Dennis Klein
7a0d348bd4
SDK: Implement Topology with asio-compliant async interface
2019-09-04 21:17:35 +02:00
Dennis Klein
73af0ed78b
SDK: Implement asio-compliant asynchronous operation helpers
2019-09-04 21:17:35 +02:00
Alexey Rybalchenko
eaa8f5cbdd
SDK: Require DDS 2.5.36 and support new Tools API
2019-08-13 20:04:05 +02:00
Dennis Klein
1bb77bf47b
DDS plugin: Automatically set session and device id if not provided
...
Resolves #187
2019-07-29 09:22:02 +02:00
Dennis Klein
07fe02a0a0
Tests.SDK: Add another test
2019-07-29 09:22:02 +02:00
Dennis Klein
008be36125
PluginServices: Do not throw if device control cannot be released
2019-07-29 09:22:02 +02:00
Dennis Klein
98aeb16dc7
SDK: Adapt to new DDS plugin external mode
2019-07-26 14:55:32 +02:00
Dennis Klein
6c07920fc6
DDS plugin: Adapt command ui to changes in DDS plugin
...
* Add COMPLETE INIT support
* Add -n option, shall be replaced with inspecting DDS topo spec in the
future
* Update DDS example to work again
2019-07-26 14:55:32 +02:00
Dennis Klein
f7cdf5ee23
DDS plugin: Implement --control external
2019-07-26 14:55:32 +02:00
Dennis Klein
363576496d
SDK: Pass CSession as shared ptr
...
Even though it is copyable the copy does not work.
2019-07-25 14:42:44 +02:00
Dennis Klein
5ab328b01f
SDK: Add ctors to adopt existing DDS API objects
2019-07-25 10:40:31 +02:00
Alexey Rybalchenko
ac8cd19915
SDK: wait for devices to be in running
2019-07-24 16:42:36 +02:00
Alexey Rybalchenko
5d535163f1
SDK: Add test for timeout, concurrent call. Implement TODOs
2019-07-24 15:47:20 +02:00
Dennis Klein
dc55272317
SDK: Implement WaitForExecutingAgents
...
* Require DDS 2.5.22
* Apply in meaningful places
* Adapt test fixture
2019-07-24 14:54:21 +02:00
Dennis Klein
d70a203449
SDK: Add sync ChangeState and add msg to its result
2019-07-24 10:41:08 +02:00
Dennis Klein
a93840b240
SDK: Implement WaitForIdleAgents and CommanderInfoRequest
2019-07-24 10:37:58 +02:00
Alexey Rybalchenko
7d1ee82c6b
Add timeout test, disable for now
2019-07-23 16:08:15 +02:00
Alexey Rybalchenko
cf26dd6aa7
Testing the double subscription
2019-07-23 16:08:15 +02:00
Dennis Klein
18dc536f3d
(WIP) SDK: Implement Topology::ChangeState
2019-07-23 16:08:15 +02:00
Dennis Klein
a65f0e6777
Tests.Message: Fix race condition
2019-07-23 16:08:15 +02:00
Dennis Klein
8aad6c062b
Tests.SDK: Run serial for now
...
DDS currently has a race condition which causes session creation to
either hang or not complete properly.
2019-07-23 16:08:15 +02:00
Dennis Klein
5a7bf68c8c
SDK: Do not always stop the session on destruction
2019-07-23 16:08:15 +02:00
Dennis Klein
3f655e330b
SDK: Add convenience header <fairmq/SDK.h>
2019-07-23 16:08:15 +02:00
Dennis Klein
44da054e78
SDK: Implement Topology ctor
2019-07-23 16:08:15 +02:00
Dennis Klein
53be96d93c
Tests.SDK: Implement Topology test fixture
2019-07-23 16:08:15 +02:00
Dennis Klein
90496c89fe
Test: Add new testsuite SDK
2019-07-23 16:08:15 +02:00
Alexey Rybalchenko
5256e7c580
Add support and test for concurrent TransitionTo
2019-07-19 14:45:27 +02:00
Alexey Rybalchenko
74d301a16f
Implement Device::TransitionTo() and test it
2019-07-19 14:45:27 +02:00
Alexey Rybalchenko
1c7da53386
Refactor multiple devices test for better readability
2019-07-19 14:45:27 +02:00
Alexey Rybalchenko
26fe5e2bd8
Move PropertyNotFound handling to ProgOptions
2019-07-11 18:58:46 +02:00
Dennis Klein
4af0393c11
Test.Properties: Refine
2019-07-10 19:35:18 +02:00
Dennis Klein
12f05355d3
ProgOptions: Fix minor things
2019-07-10 19:35:18 +02:00
Dennis Klein
051f064c60
Test.PluginServices: Fix -Wdeprecated-copy
2019-07-10 19:35:18 +02:00
Alexey Rybalchenko
4cefb9fb5b
Add tests for property conversions and subscriptions
2019-07-10 19:35:18 +02:00
Alexey Rybalchenko
7bea2bc0e6
Add PluginServices::DeleteProperty, test for property accessors
2019-07-10 19:35:18 +02:00
Alexey Rybalchenko
5271d4236e
Add additional test for running device with plugins without DeviceRunner
2019-07-10 19:35:18 +02:00
Alexey Rybalchenko
cba6d19781
Add config plugin class.
2019-07-10 19:35:18 +02:00
Alexey Rybalchenko
bf8ec968e7
Remove FairMQChannel from parser, implement bulk operations
2019-07-10 19:35:18 +02:00
Alexey Rybalchenko
3538d9f410
Deprecate Channel::GetChannelX() in favor of Channel::GetX()
2019-07-10 19:35:18 +02:00
Dennis Klein
b45e4da2a9
Implement linger for ofi
...
This reduces test runtime significantly for most transports
2019-03-21 18:03:32 +01:00
Alexey Rybalchenko
99ffb732f4
Use process tools for WaitFor test
2019-03-19 18:09:01 +01:00
Alexey Rybalchenko
1a00f3edbd
Remove controller input for several tests
...
The affected tests have independent shutdown
conditions that race with the controller inputs.
2019-03-12 17:51:33 +01:00
Alexey Rybalchenko
dd02c01c36
Extend tests of error cases
...
- test raising SIGINT in every state
- test going to Error state from every state
- add new states (bind/connect) to exception tests
2019-03-12 12:10:47 +01:00
Alexey Rybalchenko
5af604c0a9
Rename some test names for consistency
2019-03-06 14:23:08 +01:00
Dennis Klein
35dd9578aa
Set C++17 when building OFI transport
...
Improve ctest definitions
2019-03-06 14:23:08 +01:00
Dennis Klein
ba4e6f72c9
Implement connection mgmt
2019-03-06 14:23:08 +01:00
Alexey Rybalchenko
fc94342db8
Update state machine
...
- Split INITIALIZING state into Init+Bind+Connect
- Remove PAUSE state
- Convert state/transitions to enum classes (CamelCase)
- Transition to a state only once previous handler is complete
- Add CompleteInit transition to notify Initializing state
that config updates are complete
- Deprecate WaitForEndOfState(transition) in favor of
WaitForState(state)/WaitForNextState()
- Update tests/plugins to new APIs
- Deprecate CheckCurrentState() in favor of NewStatePending()
2019-02-25 12:19:50 +01:00
Alexey Rybalchenko
36f409dc72
Formatting
2019-02-25 12:19:50 +01:00
mkrzewic
4dc37efc12
Allow implicit conversion factory->resource
...
reduces boilerplate
2018-12-18 18:02:02 +01:00
Alexey Rybalchenko
a9619a06d0
Add test for FairMQMessage::Rebuild
2018-11-28 21:16:29 +01:00
Alexey Rybalchenko
66d6d0e07b
Fix warning
2018-11-28 16:55:34 +01:00
mkrzewic
489bea5a51
Add simple test for factory pointer setting at receive
2018-11-27 14:36:35 +01:00
Alexey Rybalchenko
25fcf13985
Move Bind/Connect/Attach to FairMQChannel
2018-11-13 11:08:48 +01:00
Alexey Rybalchenko
bd899a2806
Add test for channel validation
2018-11-01 15:43:40 +01:00
Alexey Rybalchenko
0b199e779a
Add test for interface IP detection tools
2018-11-01 15:43:40 +01:00
mkrzewic
f9658f69a4
Alias boost::container::pmr -> fair::mq::pmr
...
so the eventual switch to std::pmr becomes easier
2018-10-31 13:12:38 +01:00
mkrzewic
34286ef75e
Remove container adoption code
2018-10-31 13:12:38 +01:00
mkrzewic
1a07137dda
Rename adoptVector into getVector
2018-10-31 13:12:38 +01:00
mkrzewic
d40bbfe208
Equip FairMQMessage with pointer to factory (at creation)
...
the patch seems big but most of it is just propagating the new notion of
constness of the factory - since it keeps track of created messages with
the internal allocator it no longer is const
2018-10-31 13:12:38 +01:00
mkrzewic
310b9647b5
Adopt FairMQMessage backed memory resource collection from AliceO2
...
Add a pmr interface to FairMQTransportFactory
refactor
Port the unit tests for MemoryResources
clang format
2018-10-31 13:12:38 +01:00
Alexey Rybalchenko
919193a1ad
Extend transfer timeout test
2018-10-30 10:39:35 +01:00
Alexey Rybalchenko
1b53538d8c
Move test helper devices to headers
2018-10-18 21:33:47 +02:00
Alexey Rybalchenko
ffab4ac78c
Add options tests and (re-)/enable more nanomsg tests
2018-10-17 13:28:50 +02:00
Alexey Rybalchenko
2e7005225e
Remove sleeps from tests that were helping broken linger
2018-10-17 13:28:50 +02:00
Dennis Klein
78acb954cd
Test more cases with interactive controller
2018-10-10 19:35:18 +02:00
Alexey Rybalchenko
cb199e7283
Fix throw after quit signal case
2018-10-10 19:35:18 +02:00
Dennis Klein
e39316c866
Test exceptions thrown in user code
2018-10-10 19:35:18 +02:00
Alexey Rybalchenko
957233cf95
Relocate some tests to more apropriate test suits
2018-09-20 14:05:44 +02:00
Alexey Rybalchenko
5397cef9d1
Use same runner.cxx/.h for all tests
2018-09-20 14:05:44 +02:00
Alexey Rybalchenko
c4145e9ef1
Add test for FairMQDevice::WaitFor()
2018-09-20 14:05:44 +02:00
Alexey Rybalchenko
b814e40c87
Fix multipart transfer timeout and enable its tests
2018-08-27 18:12:02 +02:00