From e35d4417972ddecadd12460af1c0d6fd6bf0e36d Mon Sep 17 00:00:00 2001 From: Susan Hinrichs Date: Mon, 5 Apr 2021 16:38:07 +0000 Subject: [PATCH] Add close header normalize openclose test --- tests/gold_tests/continuations/openclose.test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/gold_tests/continuations/openclose.test.py b/tests/gold_tests/continuations/openclose.test.py index 247345229fa..269de16dce9 100644 --- a/tests/gold_tests/continuations/openclose.test.py +++ b/tests/gold_tests/continuations/openclose.test.py @@ -51,7 +51,8 @@ ts.Variables.port, server.Variables.Port) ) -cmd = 'curl -vs -H "host:oc.test" http://127.0.0.1:{0}'.format(ts.Variables.port) +# Add connection close to ensure that the client connection closes promptly after completing the transaction +cmd = 'curl -H "Connection: close" -vs -H "host:oc.test" http://127.0.0.1:{0}'.format(ts.Variables.port) numberOfRequests = 100 tr = Test.AddTestRun()