mirror of
https://github.com/apple/swift-nio-http2
synced 2026-11-30 05:28:45 +00:00
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>
39 lines
928 B
YAML
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
|