Skip to content

Fix TiDB CI flakiness by waiting for server readiness#1292

Open
AmlanDalai wants to merge 1 commit intosqlancer:mainfrom
AmlanDalai:fix-tidb-ci
Open

Fix TiDB CI flakiness by waiting for server readiness#1292
AmlanDalai wants to merge 1 commit intosqlancer:mainfrom
AmlanDalai:fix-tidb-ci

Conversation

@AmlanDalai
Copy link

Partially addresses #1282.

The TiDB CI jobs were failing intermittently with:
ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet'

This indicates that the TiDB playground container had started but was not yet ready to accept MySQL connections when the tests began.

This PR stabilizes the TiDB CI by:

  • pinning the TiDB playground to a stable image instead of a nightly build
  • adding a readiness check that waits until the server is available before running tests

No changes were made to the SQLancer test logic, this fix is limited to CI setup.

@AmlanDalai
Copy link
Author

This PR fixes the TiDB CI failures reported in #1282 by ensuring the TiDB server is fully ready before tests start.
All changes are limited to CI setup. SQLancer logic is unchanged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant