From 993ee3a197805574f12b9323ea449960e65c01a2 Mon Sep 17 00:00:00 2001 From: Simon Cruanes Date: Thu, 29 Aug 2024 10:39:17 -0400 Subject: [PATCH] test: re-enable t_fib1 but with a single core fifo pool it should be deterministic now! --- test/fiber/dune | 5 +---- test/fiber/t_fib1.ml | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/test/fiber/dune b/test/fiber/dune index 5786dfff..42845ff5 100644 --- a/test/fiber/dune +++ b/test/fiber/dune @@ -1,8 +1,5 @@ (tests - (names - t_fls - t_main ; t_fib1 - ) + (names t_fls t_main t_fib1) (enabled_if (>= %{ocaml_version} 5.0)) (package moonpool) diff --git a/test/fiber/t_fib1.ml b/test/fiber/t_fib1.ml index 1f4207b4..7ceedbf4 100644 --- a/test/fiber/t_fib1.ml +++ b/test/fiber/t_fib1.ml @@ -3,7 +3,7 @@ module A = Atomic module F = Moonpool_fib.Fiber let ( let@ ) = ( @@ ) -let runner = Ws_pool.create ~num_threads:8 () +let runner = Fifo_pool.create ~num_threads:1 () module TS = struct type t = int list