diff options
author | Loïc Hoguin <[email protected]> | 2018-10-30 10:03:17 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-10-30 10:03:17 +0100 |
commit | 871989eef53663285c165fdfb83a5918ebe00d41 (patch) | |
tree | 31c2c21d20ce54b561620dafa50d85270206708a /test | |
parent | f6e61f47adc2645f2caa5fbd012161d8bcca7502 (diff) | |
download | gun-871989eef53663285c165fdfb83a5918ebe00d41.tar.gz gun-871989eef53663285c165fdfb83a5918ebe00d41.tar.bz2 gun-871989eef53663285c165fdfb83a5918ebe00d41.zip |
Switch to cow_http2_machine for HTTP/2
A common state machine for Gun and Cowboy will be easier to
maintain. This fixes numerous issues including some test
failures that were hidden because the h2specd_SUITE was
flawed.
We temporarily depend on Cowlib master until a new version
is released.
Diffstat (limited to 'test')
-rw-r--r-- | test/h2specd_SUITE.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/h2specd_SUITE.erl b/test/h2specd_SUITE.erl index e63aadd..de17341 100644 --- a/test/h2specd_SUITE.erl +++ b/test/h2specd_SUITE.erl @@ -79,7 +79,8 @@ run_tests() -> timer:sleep(1000), Tests = scrape_tests(), ct:pal("Test ports: ~p~n", [Tests]), - run_tests(Tests). + run_tests(Tests), + timer:sleep(1000). run_tests([]) -> ok; @@ -99,8 +100,7 @@ run_tests([Port|Tail]) -> ok after 100 -> ok - end, - ok = gun:close(Conn) + end after run_tests(Tail) end. |