wesql / wescale

WeScale is a Modern MySQL proxy that supports read-write-split, read-after-write-consistency, load balancing and OnlineDDL.
Apache License 2.0
196 stars 8 forks source link

Feature Request: A MTR-like test framework is needed #6

Closed earayu closed 1 year ago

earayu commented 1 year ago

Feature Description

Vitess original testcases can be devided into: unit_test, endtoend(single process), endtoend(cluster). However, vitess was designed mostly for sharding, the endtoend test is not suitable for our project, and since we modified the architecture to not support sharding, most of the test cases fail.

So we need our own end-to-end tests to:

  1. Ensure that the SQL functionality that should work properly in wesql-scale is functioning correctly.
  2. Understand the compatibility of wesql-scale.

The test suite should be as comprehensive as possible, and we can refer to MTR for guidance. We can also use a test framework such as https://github.com/pingcap/mysql-tester.

earayu commented 1 year ago

This is a long-term project and every muscle will be needed.