Closed hawkingrei closed 1 year ago
BTW, I and @YangKeao try to add bazel to mysql-test. but we find it has difficult version dependencies between mysql-tester and mysql. it block the process of adding bazel into mysql-test. I hope we can move it into tidb repo.
@dveeden PTAL
I hope we can move it into tidb repo.
I'm actually not sure whether it will bring benefit for executing mysql-test with bazel. Because the problem we faced is importing the tidb repo (but not this repo) and detect whether it has changed.
For mysql-tester, the problem can be solved through importing it directly: https://github.com/pingcap/tidb-test/blob/6a94e3aabf881ba7eb2704575ff1e2ca69908bc3/mysql_test/tools.go
I hope we can move it into tidb repo.
I'm actually not sure whether it will bring benefit for executing mysql-test with bazel. Because the problem we faced is importing the tidb repo (but not this repo) and detect whether it has changed.
For mysql-tester, the problem can be solved through importing it directly: https://github.com/pingcap/tidb-test/blob/6a94e3aabf881ba7eb2704575ff1e2ca69908bc3/mysql_test/tools.go
Let me make a demo to show this.
upgrade to go1.19 and update all dependencies.
Signed-off-by: Weizhen Wang wangweizhen@pingcap.com