Changing module String_size = struct let length = 20 end in
to a small value breaks the unit tests:
length = 3 or more doesn't fail the tests.
length = 2 sometimes fails these unit tests:
[FAIL] live 3 fail add (key).
[FAIL] close 1 close and reopen more.
length = 1 sometimes fails these unit tests:
[FAIL] close 1 close and reopen more.
[FAIL] close 2 crash and continue.
[FAIL] merge 2 interleaved merge.
[FAIL] merge 3 write at the end of merge.
[FAIL] flush_callback 2 replace.
length = 0 always fails all tests except the io_array ones
Changing
module String_size = struct let length = 20 endinindex/test/unix/common.ml
Line 11 in 4decebd
length = 3or more doesn't fail the tests.length = 2sometimes fails these unit tests:length = 1sometimes fails these unit tests:length = 0always fails all tests except theio_arrayones