From 871989eef53663285c165fdfb83a5918ebe00d41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Tue, 30 Oct 2018 10:03:17 +0100 Subject: 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. --- test/h2specd_SUITE.erl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test') 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. -- cgit v1.2.3