-
Notifications
You must be signed in to change notification settings - Fork 288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Still get problems on test #716
Comments
The cause of failure is wait time is not enough. We can increase the wait time here. Besides, the unit test can be executed by single case. ref https://github.com/pingcap/ticdc/tree/master/tests#unit-test |
Do we have bin for Mac? The links are all about Linux. |
https://tiup-mirrors.pingcap.com/tidb-v4.0.2-darwin-amd64.tar.gz Can replace |
I get test error like this. I think I'm able to write to /tmp/tidb_cdc_test cuz I have ran BTW, where can I download sync_diff_inspector for mac? I got all binaries ok except this one. I deleted /tmp/tidb_cdc_test, now there is no log info but only |
|
Thanks. But I still get problems. I ran There are some invalid signals, I consider it as some noise.
Then, it seems to work, but I get MySQL connection error and some error logs. The script keeps retrying so the failed message keeps logging.
I have MySQL client installed and launched. I can enter MySQL by:
I have tried google some suggestion. Some config like |
pay attention to this error, it is upstream database that can't be connected
|
Now I can connect to finally. But it logs
After I create a tidb table in MySQL, I get
Do I need to do something in this mysql server? |
The downstream database is also a TiDB, https://github.com/pingcap/ticdc/blob/37072effd0869904ebf22b37a1016fb80361dadd/tests/_utils/start_tidb_cluster#L148-L155 Have you changed the startup script manually? You don't need to start any databases before the test, the test script will start both upstream tidb cluster and downstream cluster automatically. |
|
Yes.. my local MySQL was still running. I shut it down and now it logs that I should install a TiFlash..
I download tiflash from |
Sorry for the delayed response, the TiFlash is used for testing whether TiCDC can work normally with a TiFlash in cluster, you can comment the startup scripts if you don't want to start it. |
@amyangfei update: So, recap for testing and make things correct, I should check these for debug:
Is it correct? |
|
Debug log for integration test can be found in |
Yes, I should begin to add some unit test first and handle the complicate case. |
Close this issue now, feel free to re open it if you have any problems. |
Question
What I did
make test
failed, but I change nothing on local. Then I build up bin for cdc:But I still get the same error stack partially:
What I expect
I want to test my code, but I get test error. So I stash my commit and try again, still same error. So I'm confused at how the test work.
The text was updated successfully, but these errors were encountered: