Skip to content

Commit a4a8844

Browse files
glyhdannywillems
authored andcommitted
Fix test: LMDB doesn't dead lock anymore
1 parent 2adc928 commit a4a8844

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/lib/disk_cache/test/test_lmdb_deadlock.ml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@ let () =
99
(module Disk_cache)
1010
in
1111
match res with
12-
| `Timeout ->
13-
printf
14-
"It is expected that LMDB cache times out for now. This should be \
15-
fixed." ;
16-
Deferred.unit
1712
| `Success ->
18-
failwith "The process should time out" )
13+
printf "Success" ; Deferred.unit
14+
| `Timeout ->
15+
failwith "The process should not time out" )

0 commit comments

Comments
 (0)