We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 381c12a commit 10ce668Copy full SHA for 10ce668
1 file changed
tests/mock_vws/test_flask_app_usage.py
@@ -610,7 +610,15 @@ def test_random(
610
611
612
class TestResponseDelay:
613
- """Tests for the response delay feature."""
+ """Tests for the response delay feature.
614
+
615
+ These tests run through the ``responses`` library, which intercepts
616
+ requests in-process. Because of this, the client ``timeout`` parameter
617
+ is not enforced — the delay blocks but never raises
618
+ ``requests.exceptions.Timeout``. When running the Flask app as a real
619
+ server (e.g. in Docker), the delay causes a genuinely slow HTTP
620
+ response and the ``requests`` client will raise ``Timeout`` on its own.
621
+ """
622
623
DELAY_SECONDS = 0.5
624
0 commit comments