Open wangrunji0408 opened 2 years ago
Is it possible to add e2e simulation tests for the connector sink or source? e.g. https://github.com/risingwavelabs/risingwave/pull/6631
Is it possible to add e2e simulation tests for the connector sink or source? e.g. #6631
Theoretically it's possible. But we have to build a dedicated simulator for each kind of source and sink. Each of them will take us at least 0.5 man-months in my prediction. Currently we already have a simulator for kafka. With this, the complete data flow from source to sink has been covered in the test. So any more simulator for a connector will only result in the connector code itself being tested, which I don't think the ROI is high. 🤔
By the way, I just found a new project hermit published by Meta a week ago. It is a system-level deterministic testing tool. It seems like a good solution to this case. I'm going to do some research on it soon. (UPDATE: tracking in #6665)
We are utilizing deterministic simulation testing to find bugs efficiently and reproduce them at any time.
Status and TODO
Pull Requests
2477
2718
2787
2888
3951
4176
4336
4460
4476
4550
4675
4738
4843
4917
4950
5084
5342
5536
5657
6676
6708
6778
Hunted Bugs
4875
4782
5143
5103
Related Links