diff --git a/test/autests/gold_tests/http2_abort/http2_abort.test.py b/test/autests/gold_tests/http2_abort/http2_abort.test.py index 20fdb130..74a0f145 100644 --- a/test/autests/gold_tests/http2_abort/http2_abort.test.py +++ b/test/autests/gold_tests/http2_abort/http2_abort.test.py @@ -110,7 +110,7 @@ 'Received RST_STREAM frame.') proxy.Streams.stdout += Testers.ContainsExpression( - 'StreamReset stream_id:1, error_code:ErrorCodes.ENHANCE_YOUR_CALM, remote_reset:True', + 'StreamReset stream_id:1, error_code:(11|ErrorCodes.ENHANCE_YOUR_CALM), remote_reset:True', 'Received RST_STREAM frame.') # @@ -182,5 +182,5 @@ 'Server connection should terminate.') proxy.Streams.stdout += Testers.ContainsExpression( - 'ConnectionTerminated error_code:ErrorCodes.STREAM_CLOSED, last_stream_id:0, additional_data:None', + 'ConnectionTerminated error_code:(5|ErrorCodes.STREAM_CLOSED), last_stream_id:0, additional_data:None', 'Received GOAWAY frame.')