meilisearch / milli

Search engine library for Meilisearch ⚡️
MIT License
464 stars 81 forks source link

Write a limited fuzz test stressing combinations of index operations #735

Open loiclec opened 1 year ago

loiclec commented 1 year ago

Pull Request

What does this PR do?

Add a fuzz test that applies multiple operations (document import, document deletion, setting update, clear documents) to an index and verify that none of them crash.

loiclec commented 1 year ago

Note: this PR will stay in a draft state for a long time probably, but I'd like to keep it alive as a reminder that fuzz-testing indexing is possible and not that complicated. We can build on it in the future.