Files
swift-nio-http2/docker/docker-compose.1604.51.yaml
T
Peter AdamsandJohannes Weiss 59e864c1a2 Enable thread sanitizer in CI (#212)
Motivation:

Thread Sanitizer will find bugs which might be missed otherwise.

Modifications:

When running docker image for 1604/5.1 tests and h2spec are both compiled with --sanitize=thread

Result:

Tests are run with thread sanitizer turned on.

Co-authored-by: Johannes Weiss <johannesweiss@apple.com>
2020-07-23 14:08:48 +01:00

39 lines
928 B
YAML

version: "3"
services:
runtime-setup:
image: swift-nio-http2:16.04-5.1
build:
args:
ubuntu_version: "xenial"
swift_version: "5.1"
h2spec_version: "2.2.1"
unit-tests:
image: swift-nio-http2:16.04-5.1
integration-tests:
image: swift-nio-http2:16.04-5.1
environment:
- MAX_ALLOCS_ALLOWED_create_client_stream_channel=72010
- MAX_ALLOCS_ALLOWED_hpack_decoding=5050
- MAX_ALLOCS_ALLOWED_client_server_request_response=378000
performance-test:
image: swift-nio-http2:16.04-5.1
h2spec:
image: swift-nio-http2:16.04-5.1
test:
image: swift-nio-http2:16.04-5.1
environment:
- MAX_ALLOCS_ALLOWED_create_client_stream_channel=72010
- MAX_ALLOCS_ALLOWED_hpack_decoding=5050
- MAX_ALLOCS_ALLOWED_client_server_request_response=378000
- SANITIZER_ARG=--sanitize=thread
shell:
image: swift-nio-http2:16.04-5.1