path: root/test/sys_SUITE.erl
AgeCommit message (Collapse)Author
2019-10-05Don't discard data following a Websocket upgrade requestLoïc Hoguin
While the protocol does not allow sending data before receiving a successful Websocket upgrade response, we do not want to discard that data if it does come in.
2019-09-15Fix intermittent failures in sys_SUITELoïc Hoguin
2018-11-20Silence expected warnings for messages from unknown processesLoïc Hoguin
2018-10-28Fix the sys trap_exit testsLoïc Hoguin
The processes go down slower now so that caused intermittent issues.
2018-10-28Exit gracefully on parent exit/sys:terminate/2,3Loïc Hoguin
2018-08-13Move some test functions off to ct_helperLoïc Hoguin
2018-03-27Add the remaining sys testsLoïc Hoguin
2018-03-27Add more sys testsLoïc Hoguin
2018-03-26Fix the flushing of messages when switching to WebsocketLoïc Hoguin
We now flush messages that are specific to cowboy_http only. Stream handlers should also flush their own specific messages if necessary, although timeouts will be flushed regardless of where they originate from. Also renames the http_SUITE to old_http_SUITE to distinguish new tests from old tests. Most old tests need to be removed or converted eventually as they're legacy tests from Cowboy 1.0.
2018-03-23Add initial support for system messages in cowboy_loopLoïc Hoguin
2018-03-23Merge the two separate receive loops in cowboy_websocketLoïc Hoguin
Also rename a bunch of functions to make the code easier to read.
2018-03-13Handle system messages in cowboy_websocketLoïc Hoguin
2018-03-13Handle supervisor calls properly everywhereLoïc Hoguin
2018-03-12Initial work on the sys_SUITELoïc Hoguin
There's already tests failing and quite some refactoring to be done to make some things easier to test or fix issues.