akka/akka-http

Bump h2spec external binary to newer versions

Open

#3,534 opened on 2020年10月15日

GitHub で見る
 (1 comment) (0 reactions) (0 assignees)Scala (1,311 stars) (598 forks)batch import
help wantednice-to-have (low-prio)t:http2

説明

In #1578 there was some initial work to update the build to use a newer version of https://github.com/summerwind/h2spec/. That work focused on the build.

I've just replaced the binary in ./akka-http2-support/target/h2spec_darwin_amd64/h2spec with the latest and ran H2SpecIntegrationSpec. Tests, as they are now, fail because the binary API has changed from:

https://github.com/summerwind/h2spec/tree/9b3d1a5078cb4003506bd8004eb1b01e3be2a3e7

to

https://github.com/summerwind/h2spec/#usage

The parameter -s: Section number on which to run the test. (Example: -s 6.1 -s 6.2) is not available in h2spec since version 2.0.0. As a consequence, the execution of H2SpecIntegrationSpec goes over tests we don't need taking (a lot) longer and reporting failures we would ignore anyway.

コントリビューターガイド