aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--test/h2specd_SUITE.erl3
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),