]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
test2304: remove stdout verification
authorDaniel Stenberg <daniel@haxx.se>
Thu, 9 Feb 2023 18:38:56 +0000 (19:38 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 10 Feb 2023 07:28:25 +0000 (08:28 +0100)
This cripples the test somewhat but the check was bad since depending on
timing it could exit before the output was done, making the test flaky.

tests/data/test2304

index 52a390386ce9a03adf7e4c1acd53acd6faa4d38c..895518fb47bbba706b5e4dd4607cb149e7e19643 100644 (file)
@@ -61,8 +61,9 @@ Sec-WebSocket-Version: 13
 Sec-WebSocket-Key: NDMyMTUzMjE2MzIxNzMyMQ==
 
 </protocol>
-<stdout mode="text">
-Connection closed
-</stdout>
+
+# This test used to check that "connection closed" was output, but
+# that is flaky since the outgoing PING just before might fail already
+# and then the test exists before the output gets to be written
 </verify>
 </testcase>