From bcff24064469104248a8c2ebe4a74fc8b66509aa Mon Sep 17 00:00:00 2001 From: gwenaelle Date: Wed, 18 Sep 2024 17:07:48 +0200 Subject: [PATCH] test --- test/irmin-client/test.ml | 3 +-- test/irmin-client/util.ml | 3 +++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/test/irmin-client/test.ml b/test/irmin-client/test.ml index ed2f32f5519..07be16e0cb0 100644 --- a/test/irmin-client/test.ml +++ b/test/irmin-client/test.ml @@ -105,5 +105,4 @@ let () = ] in Lwt_main.run - (Mirage_crypto_rng_lwt.initialize (module Mirage_crypto_rng.Fortuna); - Irmin_test.Store.run "irmin-server" ~sleep:Lwt_unix.sleep ~slow ~misc tests) + (Irmin_test.Store.run "irmin-server" ~sleep:Lwt_unix.sleep ~slow ~misc tests) diff --git a/test/irmin-client/util.ml b/test/irmin-client/util.ml index 14296af0e34..60a3e63404a 100644 --- a/test/irmin-client/util.ml +++ b/test/irmin-client/util.ml @@ -15,6 +15,9 @@ *) open Lwt.Infix + +let () = Mirage_crypto_rng_lwt.initialize (module Mirage_crypto_rng.Fortuna) + module Store = Irmin_mem.KV.Make (Irmin.Contents.String) module Client = Irmin_client_unix.Make (Store) module Server = Irmin_server_unix.Make (Store)