GreptimeTeam / greptimedb

An Open-Source, Cloud-Native, Unified Time Series Database for Metrics, Logs and Events with SQL/PromQL supported. Available on GreptimeCloud.
http://greptimedb.rs/
Apache License 2.0
4.05k stars 291 forks source link

Tracking issue for fuzz tests #3174

Open WenyXu opened 6 months ago

WenyXu commented 6 months ago

What problem does the new feature solve?

Introduce the fuzz tests and related utils

What does the feature do?

The utils are focused on randomly generated sql input and verify our database's output. it should be easily integrated with other integration tests(e.g., After fuzz tests, the region migration should still be available. Or the DB, after recovering from the chaos failures, the fuzz tests should be passed)

Other engines/scenarios

No response

PragmaTwice commented 3 months ago

Upon observing GrepTime uncovering code issues through fuzzing, I am intrigued. With some prior experience in fuzzing, I have been contemplating integrating fuzzing tests into Kvrocks. Here are my inquiries: