Increase timeout in tests to cope with slowness of riscv64
authorStephane Glondu <steph@glondu.net>
Mon, 16 Mar 2026 07:11:08 +0000 (08:11 +0100)
committerPeter Michael Green <plugwash@raspbian.org>
Sat, 6 Jun 2026 15:32:36 +0000 (15:32 +0000)
Gbp-Pq: Name 0002-Increase-timeout-in-tests-to-cope-with-slowness-of-r.patch

cohttp-lwt-unix/test/cohttp_lwt_unix_test/src/cohttp_lwt_unix_test.ml

index d399ea15031f66cc53aca990745f524f2b85d21b..36c59fec8311ca38d263e18a9a486b7ae839ae9b 100644 (file)
@@ -40,7 +40,7 @@ let temp_server ?port spec callback =
             Lwt.wakeup_exn server_failed_wake exn;
             Lwt.reraise exn)
   in
-  Lwt.pick [ Lwt_unix.with_timeout 5.0 (fun () -> callback uri); server_failed ]
+  Lwt.pick [ Lwt_unix.with_timeout 10.0 (fun () -> callback uri); server_failed ]
   >|= fun res ->
   Lwt.cancel server;
   res