Loïc Hoguin
a8335c63df
Always dialyze tests and fix some cowboy_req specs
2018-10-31 10:50:57 +01:00
Loïc Hoguin
3c8e6cf819
Use gun:info instead of hacks for test socket operations
2018-09-26 17:17:25 +02:00
Loïc Hoguin
338b1ca3f7
Remove two broken absolute URI tests from old_http_SUITE
2018-05-18 18:46:36 +02:00
Loïc Hoguin
5cb244eb7a
Remove more old_http_SUITE tests
2018-05-18 10:41:31 +02:00
Loïc Hoguin
753ba2e36d
Remove the set_env test from old_http_SUITE
...
It duplicated a test in misc_SUITE. Also fix a couple issues
in misc_SUITE including a test that was not being executed.
2018-05-17 21:04:40 +02:00
Loïc Hoguin
36b32194b7
Remove the parse_host test from old_http_SUITE
...
It seems to just be a duplicate of something we now have
in Cowlib.
2018-05-17 21:02:54 +02:00
Loïc Hoguin
fb5a261614
Move a router test from old_http_SUITE to cowboy_router
2018-05-17 17:53:16 +02:00
Loïc Hoguin
0254c80c33
Move timeout tests from old_http_SUITE to http_SUITE
...
Also fix the idle_timeout test which was producing
an extra crash log.
2018-05-17 17:41:55 +02:00
Loïc Hoguin
fd2643b017
Remove more tests from old_http_SUITE which exist elsewhere
2018-05-17 16:47:02 +02:00
Loïc Hoguin
3d35319112
Remove/convert tests about request body from old_http_SUITE
2018-05-17 16:23:33 +02:00
Loïc Hoguin
5964273cc4
Fix the flushing of messages when switching to Websocket
...
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-26 18:53:07 +02:00