From 9cae3a08b011a1644ba039edcac92ece0b250113 Mon Sep 17 00:00:00 2001 From: Bjorn Svensson Date: Tue, 18 Aug 2020 16:24:24 +0200 Subject: Update source path for test tool h2specd The main source file for the test tool h2specd was moved a time ago, but correct one is used now. Also make sure that gun sends the GOAWAY directly to avoid timing issues in test 6.9.1 in h2specd_SUITE. --- Makefile | 2 +- test/h2specd_SUITE.erl | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 1cd5572..1075f53 100644 --- a/Makefile +++ b/Makefile @@ -66,7 +66,7 @@ $(H2SPECD): $(gen_verbose) mkdir -p $(GOPATH)/src/github.com/summerwind -$(verbose) git clone --depth 1 https://github.com/summerwind/h2spec $(dir $(H2SPECD)) -$(verbose) $(MAKE) -C $(dir $(H2SPECD)) build MAKEFLAGS= - -$(verbose) go build -o $(H2SPECD) $(dir $(H2SPECD))/cmd/h2spec/h2specd.go + -$(verbose) cd $(dir $(H2SPECD)) && go build cmd/h2specd/h2specd.go # Public suffix module generator. # https://publicsuffix.org/list/ diff --git a/test/h2specd_SUITE.erl b/test/h2specd_SUITE.erl index 99e0cd8..927d136 100644 --- a/test/h2specd_SUITE.erl +++ b/test/h2specd_SUITE.erl @@ -97,7 +97,8 @@ run_tests([Port|Tail]) -> try {ok, Conn} = gun:open("127.0.0.1", Port, #{ protocols => [http2], - retry => 0 + retry => 0, + tcp_opts => [{nodelay, true}] }), MRef = monitor(process, Conn), {ok, http2} = gun:await_up(Conn), -- cgit v1.2.3