Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

Increase the command timeout in test_short_timeout(). (#6945)

Andrey Rakhmatullin14eace5d8fb9
diff --git a/tests/test_engine.py b/tests/test_engine.py
index 7612c6200..0f8cbc3b5 100644
--- a/tests/test_engine.py
+++ b/tests/test_engine.py
@@ -495,7 +495,7 @@ class TestEngine(TestEngineBase):
)
try:
- _, stderr = p.communicate(timeout=3)
+ _, stderr = p.communicate(timeout=15)
except subprocess.TimeoutExpired:
p.kill()
p.communicate()