GreptimeTeam / greptimedb

An open-source, cloud-native, unified time series database for metrics, logs and events with SQL/PromQL supported. Available on GreptimeCloud.
https://greptime.com/
Apache License 2.0
4.37k stars 316 forks source link

Tracking issue for fuzz tests #3174

Open WenyXu opened 10 months ago

WenyXu commented 10 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 7 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: