Gianfranco Costamagna
5c48a114f4
Fix testsuite errors, due to a "Connection: upgrade" seen differently than "Connection: Upgrade"
2018-07-12 19:10:02 +02:00
Peter Thorson
2819d364d9
Merge branch 'develop' into integration_tests_sleep
2017-06-11 16:31:21 -05:00
Alex Korotkin
7be37565ca
Fix refused client connection due to servers not yet started
...
The server thread in a unit test may not have enough time to start and the
ongoing client connection will be refused. Fix this by adding sleep.
2017-05-16 18:13:11 +03:00
Alex Korotkin
5675036891
Fix unit test timers clashing between tests
...
If unit tests run long enough, then test timers fired for former unit tests can start to fail while running latter unit tests.
2017-05-16 16:51:43 +03:00
Peter Thorson
4bea90f555
preliminary support for move semantics for endpoints
2015-02-06 07:51:24 -05:00
Peter Thorson
a8d4a9a66a
increase test timeouts to help avoid false positives
2015-01-20 07:17:29 -05:00
Peter Thorson
745ed4f77a
increase test timeout to help fail less on slow travis machines
2015-01-06 17:33:01 -06:00
Peter Thorson
922f1c35bc
add testing system for timer/handshake handler interleaving
...
This interleaving is non-deterministic and pre-0.5 can result in state
errors when timer handers race with read/write handlers. These tests
explicitly and deterministically check all common interleaving for both
clients and servers.
2014-12-11 09:43:01 -05:00
Peter Thorson
bc868a244d
queue for retest
2014-12-08 19:24:10 -05:00
Peter Thorson
e8d25d22bc
adds documentation and removes unused parameters references #376
2014-10-07 10:04:54 -04:00
Peter Thorson
fd0c62a8e4
add TLS config and types to asio integration tests
2014-03-05 07:27:41 -06:00
Peter Thorson
af15537205
add debug header to integration tests
2014-03-02 22:12:14 -06:00
Peter Thorson
fe85de763e
Adds configurable SO_REUSEADDR option. references #311
2014-02-02 18:12:30 -06:00
Peter Thorson
14074666a7
disable some debugging output
2014-02-02 10:55:31 -06:00
Peter Thorson
bb431ee0d2
Fix a crash following use of the stop_listening function.
2014-01-26 20:53:17 -06:00
Peter Thorson
4393a2562b
Add the ability to pause reading on a connection
2014-01-25 18:46:44 -06:00
Peter Thorson
780f7683a4
add typedefs for iostream clients and servers to integration test suite
2014-01-25 18:29:54 -06:00
Peter Thorson
c7fda5a960
remove debug output from test
2013-12-14 09:31:58 -06:00
Peter Thorson
c2f2cb951b
Fixes some calls to empty lib::functions, references #310
2013-12-10 22:02:22 -06:00
Peter Thorson
06cdf43dcf
Add start_perpetual and stop_perpetual to asio transport
...
These may be used to replace manually managed `asio::io_service::work`
objects
2013-11-04 16:50:35 -06:00
Peter Thorson
96f7d0f3f2
catch test error condition better
2013-10-06 10:48:23 -05:00
Peter Thorson
3bab403c1b
Refactor asio_transport and add full docs and exception free varient methods
2013-07-27 11:24:24 -05:00
Peter Thorson
c017331959
remove trailing whitespace
2013-07-21 07:49:15 -05:00
Peter Thorson
88fe1bfb1c
Fix issue where pong timeout handler always fired
2013-06-24 14:59:19 -05:00
Peter Thorson
de5684aef3
add test fail handler
2013-06-22 10:50:28 -05:00
Peter Thorson
0ab1333a2f
add transport integration helper handlers delay and close
2013-06-09 07:34:10 -05:00
Peter Thorson
b9c66e9a7f
transport integration test formatting cleanup
2013-06-09 07:33:48 -05:00
Peter Thorson
56e81cb6eb
impliment close handshake timeouts references #226
2013-06-09 07:33:30 -05:00
Peter Thorson
33a0d89633
add transport integration dummy TCP client
...
client connects and never sends anything. the client ends on EOF
2013-06-08 18:32:23 -05:00
Peter Thorson
bf582aa2c1
add unit test for server open handshake timeout
2013-06-08 18:32:23 -05:00
Peter Thorson
96270a9f3d
add test for client opening handshake
2013-06-08 18:32:23 -05:00
Peter Thorson
7ca4f37c2c
stop the server after the last connection ends and let the server thread clean up
2013-05-29 09:07:48 -05:00
Peter Thorson
370bd93182
remove exception suppression, test framework will catch these
2013-05-29 09:07:19 -05:00
Peter Thorson
d9e3f626e2
use custom config so we can play with timer duration values
2013-05-29 09:06:46 -05:00
Peter Thorson
10a8af1ac3
adds pong timer support and new full stack automated integration testing for it
2013-05-26 22:04:28 -05:00