python-rosdistro/0-test-index-increase-http-server-startup-wait-time.patch
SiHuaN 5bb75e7c96 fix build error on riscv64
(cherry picked from commit f8fb51af607ce30ac40900f4b493d388ed946462)
2025-01-23 16:13:49 +08:00

14 lines
471 B
Diff

diff --git a/test/test_index.py b/test/test_index.py
index 1208f8a..e61741e 100644
--- a/test/test_index.py
+++ b/test/test_index.py
@@ -75,7 +75,7 @@ def test_get_index_from_http_with_query_parameters():
else:
proc = subprocess.Popen([sys.executable, '-m', 'http.server', '9876'],
cwd=FILES_DIR)
- time.sleep(0.5)
+ time.sleep(2)
try:
i = get_index(url)
assert len(i.distributions.keys()) == 1