Files
swift-nio-http2/docker/docker-compose.2004.56.yaml
T
George Barnett 92afa4fa84 Delay stream creation until the next loop tick (#416)
Motivation:

A recent change allowed stream creation to run immediately if the caller
was on the correct event loop. Normally that's fine, however, it opens
up a code path where streams can become activated twice which leads to a
crash.

Modifications:

- Delay stream creation until the next loop tick
- Add a loop tick to tests which now require it

Result:

Avoid re-entrantly activating streams twice.
2023-08-23 11:28:07 +01:00

53 lines
1.9 KiB
YAML

version: "3"
services:
runtime-setup:
image: swift-nio-http2:20.04-5.6
build:
args:
ubuntu_version: "focal"
swift_version: "5.6"
h2spec_version: "2.2.1"
unit-tests:
image: swift-nio-http2:20.04-5.6
integration-tests:
image: swift-nio-http2:20.04-5.6
performance-test:
image: swift-nio-http2:20.04-5.6
h2spec:
image: swift-nio-http2:20.04-5.6
documentation-check:
image: swift-nio-http2:20.04-5.6
test:
image: swift-nio-http2:20.04-5.6
environment:
- MAX_ALLOCS_ALLOWED_1k_requests_inline_interleaved=35150
- MAX_ALLOCS_ALLOWED_1k_requests_inline_noninterleaved=34100
- MAX_ALLOCS_ALLOWED_1k_requests_interleaved=41150
- MAX_ALLOCS_ALLOWED_1k_requests_noninterleaved=40100
- MAX_ALLOCS_ALLOWED_client_server_h1_request_response=294050
- MAX_ALLOCS_ALLOWED_client_server_h1_request_response_inline=271050
- MAX_ALLOCS_ALLOWED_client_server_request_response=263050
- MAX_ALLOCS_ALLOWED_client_server_request_response_inline=246050
- MAX_ALLOCS_ALLOWED_client_server_request_response_many=1208050
- MAX_ALLOCS_ALLOWED_client_server_request_response_many_inline=891050
- MAX_ALLOCS_ALLOWED_create_client_stream_channel=39050
- MAX_ALLOCS_ALLOWED_create_client_stream_channel_inline=39050
- MAX_ALLOCS_ALLOWED_get_100000_headers_canonical_form=200050
- MAX_ALLOCS_ALLOWED_get_100000_headers_canonical_form_trimming_whitespace=200050
- MAX_ALLOCS_ALLOWED_get_100000_headers_canonical_form_trimming_whitespace_from_long_string=300050
- MAX_ALLOCS_ALLOWED_get_100000_headers_canonical_form_trimming_whitespace_from_short_string=200050
- MAX_ALLOCS_ALLOWED_hpack_decoding=5050
- MAX_ALLOCS_ALLOWED_stream_teardown_100_concurrent=292950
- MAX_ALLOCS_ALLOWED_stream_teardown_100_concurrent_inline=291650
shell:
image: swift-nio-http2:20.04-5.6