diff options
author | Bjorn Svensson <[email protected]> | 2020-08-18 16:24:24 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2020-11-09 18:00:50 +0100 |
commit | 9cae3a08b011a1644ba039edcac92ece0b250113 (patch) | |
tree | f2e022376be8618ed0920c235eca14beff97e5ca | |
parent | 81f17491566b48294a02aaf36295b89670fac6ff (diff) | |
download | gun-9cae3a08b011a1644ba039edcac92ece0b250113.tar.gz gun-9cae3a08b011a1644ba039edcac92ece0b250113.tar.bz2 gun-9cae3a08b011a1644ba039edcac92ece0b250113.zip |
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.
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | test/h2specd_SUITE.erl | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -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), |