项目作者: frobware

项目描述 :
Server for h2 and h2c h2spec testing
高级语言: Shell
项目地址: git://github.com/frobware/h2s.git
创建时间: 2020-03-20T11:39:36Z
项目社区:https://github.com/frobware/h2s

开源协议:MIT License

下载


h2spec conformance test setup for OpenShift routes

Requires an OpenShift 4.4+ installation. Exposes a backend Go server
that supports H2 and H2C connections exposed via 3 TLS-enabled routes:
“edge”, “passthrough” and “reencrypt”.

Test Setup

  1. $ oc apply -f https://github.com/frobware/h2s/raw/master/h2spec.yaml

Verify routes exist

  1. $ oc get routes
  2. h2spec-goserver-edge h2spec-goserver-edge... h2spec-goserver 8080 edge/Redirect None
  3. h2spec-goserver-passthrough h2spec-goserver-passthrough... h2spec-goserver 8443 passthrough/Redirect None
  4. h2spec-goserver-reencrypt h2spec-goserver-reencrypt... h2spec-goserver 8443 reencrypt/Redirect None

Run h2spec conformane tests

Make sure the pods are running and the routes are exposed before
starting the tests.

  1. $ ./test-route-type passthrough
  2. $ ./test-route-type edge
  3. $ ./test-route-type reencrypt

How does this work?

This experiments with some inline-Go to build and execute server.go on
the fly when the pod is launched… because $REASONS.