~/talk

Multicoretests - Parallel Testing Libraries for OCaml 5.0

Talkat OCaml 2022 · on Friday, 2022-09-16· [testing, concurrency]
links:none on file
links:none on file
links:none on file
slides:none on file

Two testing libraries target OCaml 5.0 multicore: Lin checks linearizability and STM runs state-machine (model-based) tests, both built on QCheck. The tools run randomized parallel command sequences, record return values, search all sequential interleavings, and shrink failing cases; a 10,000-test run fails on the 5th case and exposes a non-linearizable behavior in the standard Hash table (length/add), showing a real bug in stdlib and in other runtime components during fuzzing.

AI-written summary · about

  1. 0:00Start
  2. 1:11An Example: Testing Hashtbl with Lin
  3. 2:39Running the Hashtbl Example
  4. 6:43All tests share the same shape: a sequential prefix + two parallel Domains we generate arbitrary inputs to each call and
  5. 17:11Summary and Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.