Skip to content

Commit f204230

Browse files
authored
Merge pull request #571 from ocaml-multicore/fix-domain-spawn-exc-mismatch
Adjust the exception matched in domain/domain_spawntree.ml
2 parents fd594bb + df79266 commit f204230

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/domain/domain_spawntree.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ let t ~max_height ~max_degree = Test.make
8989
Atomic.get a = interp 0 c
9090
with
9191
| Failure s ->
92-
if s = "failed to allocate domain"
92+
if s = "failed to allocate domain" || s = "failed to allocate domain: domain_create"
9393
then true
9494
else (Printf.printf "Failure \"%s\"\n%!" s; false)
9595
))

0 commit comments

Comments
 (0)