Commit Graph

60 Commits

Author SHA1 Message Date
Aleksandr Razumov
2e153977ca client: remove mistaken auto-import 2018-08-16 20:13:03 +03:00
Aleksandr Razumov
ba5886b6a6 client: cover WithNoRetransmit better 2018-08-16 20:10:51 +03:00
Aleksandr Razumov
1bd3f8cab9 client: also test StopErr in TestClientRTOWriteErr 2018-08-16 20:09:47 +03:00
Aleksandr Razumov
524765a323 client: add TestClientRTOAgentErr 2018-08-16 20:02:27 +03:00
Aleksandr Razumov
25d8a78934 client: add TestClientRTOWriteErr 2018-08-16 19:57:45 +03:00
Aleksandr Razumov
c55347ebb4 client: add TestClientRTOStartErr 2018-08-16 19:55:41 +03:00
Aleksandr Razumov
97de852fc6 client: change order of options in TestWithNoRetransmit for better cover 2018-08-13 19:13:39 +03:00
Aleksandr Razumov
fd3ed9f3d6 client: add "No retransmit" mode.
Fixes #40
2018-08-13 18:51:14 +03:00
Aleksandr Razumov
d1aae67291 client: add TestClientClosedStart 2018-08-13 18:14:25 +03:00
Aleksandr Razumov
6340d47a3b client: add TestClientDefaultHandler 2018-08-13 18:08:42 +03:00
Aleksandr Razumov
3f68426604 client: use ClientOption variadic instead of ClientOptions struct 2018-08-13 14:27:27 +03:00
Aleksandr Razumov
6743b3bf2f client: add TestClient_Close 2018-08-13 11:20:45 +03:00
Aleksandr Razumov
0fe96b76a1 client: add TestNewClient 2018-08-13 11:17:56 +03:00
Aleksandr Razumov
29b07afea1 {agent,client: add NoopHandler 2018-08-11 20:22:21 +03:00
Aleksandr Razumov
4b75dfd8f1 client: make concurrent reads in TestClient_DoConcurrent 2018-08-11 20:13:44 +03:00
Aleksandr Razumov
3a8c498f4a client: add concurrency tests 2018-08-11 20:06:46 +03:00
Aleksandr Razumov
66fcc03af3 client: don't use concurrency in agent.start 2018-08-11 17:15:25 +03:00
Aleksandr Razumov
ee6a265c7b client: add TestClientRetransmission 2018-08-11 17:08:33 +03:00
Aleksandr Razumov
5005255e13 client: add TestClient_Start 2018-08-09 14:12:45 +03:00
Aleksandr Razumov
710e8d6cd4 client: run Do bench concurrently 2018-08-09 03:11:41 +03:00
Aleksandr Razumov
e2fc3e0669 {agent,client}: use single handler in Agent 2018-08-09 02:56:14 +03:00
Aleksandr Razumov
dbf17d2d66 {agent,client}: implement RTO in Client 2018-08-09 01:29:18 +03:00
Aleksandr Razumov
9c4514b361 client: add TestCallbackWaitHandler
Coverage is kinda flaky without that explicit test
2018-08-08 23:45:39 +03:00
Aleksandr Razumov
d29ebc8197 {agent,client}: use function-based handler
This breaks backward compatibility, however, Agent and Client
are unstable and can change now.
2018-08-08 23:30:57 +03:00
Aleksandr Razumov
a6a172c214 {agent,client}: fix data races 2018-07-22 07:53:59 +03:00
Aleksandr Razumov
4eadb3089b client: fix linters 2018-04-29 14:36:13 +03:00
Aleksandr Razumov
c8306cf2af client: improve finalizer test 2018-04-29 14:28:29 +03:00
Aleksandr Razumov
f539368a80 client: add initialization checks 2018-04-29 14:20:09 +03:00
Aleksandr Razumov
bb835f8153 client: add finalizer (fix #36) 2018-04-29 14:11:43 +03:00
Aleksandr Razumov
45f4b51600 client: add TestClientGC 2017-12-17 03:01:53 +03:00
Aleksandr Razumov
3612554cd8 client: add TestClientCloseErr 2017-12-17 02:56:31 +03:00
Aleksandr Razumov
2ff3e90c82 client: add TestDialError 2017-12-15 21:38:02 +03:00
Aleksandr Razumov
9ded356f63 client: add test for Dial 2017-12-15 21:36:43 +03:00
Aleksandr Razumov
2f1a10917a client: improve code coverage, add error return value for NewClient 2017-12-15 21:32:54 +03:00
Aleksandr Razumov
c563d0b3ba client: test indication and cleanup 2017-12-15 20:15:29 +03:00
Aleksandr Razumov
cbb64515aa {client,agent}: don't alloc on client.Do 2017-12-15 15:07:25 +03:00
Aleksandr Razumov
0c5e708c79 client: optimize Do 2017-12-15 09:00:07 +03:00
Aleksandr Razumov
43243eedc0 client: gofmt -s tests
Signed-off-by: Aleksandr Razumov <ar@cydev.ru>
2017-10-19 13:20:55 +03:00
Aleksandr Razumov
fcee96354c client: pretty-print for StopErr.Error() 2017-10-17 03:11:11 +02:00
Aleksandr Razumov
b720eed08b client: pretty-print for CloseErr.Error() 2017-10-17 02:56:46 +02:00
Aleksandr Razumov
f3ca5dba0f client: improve test coverage (fix #33) 2017-09-06 12:02:10 +02:00
Aleksandr Razumov
7b3aefd8c6 client: add bench for Do overhead 2017-07-19 01:16:59 +02:00
Aleksandr Razumov
a186c0aabd client: remove legacy implementation 2017-06-26 03:18:59 +02:00
Aleksandr Razumov
b0a75d3cdc agent: error values, tests, comments, gc fix 2017-06-25 12:08:05 +02:00
Aleksandr Razumov
231e54768c Agent: initial implementation 2017-05-28 14:56:37 +03:00
Aleksandr Razumov
46e1b1fabe client: speedup *Client implementation 2017-03-15 23:03:22 +03:00
Aleksandr Razumov
525432c9cf client: update implementation 2017-03-15 04:43:37 +03:00
Aleksandr Razumov
e1162d5592 client: initial implementation 2017-03-11 19:52:12 +03:00
Aleksandr Razumov
7a54ae7a7a all: reduce dependencides and be more idiomatic 2017-02-01 04:39:23 +03:00
Aleksandr Razumov
a7c6a6b516 attr: fix #11 getAttrValue 2016-05-12 20:19:59 +03:00