Skip to content

Unit tests fail when using small key #385

Description

@Ngoguey42

Changing module String_size = struct let length = 20 end in

let length = 20
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions