Skip to content

[DRAFT][ci] Install mysql-server for MySQL handshake integration tests#3318

Closed
rajvarun77 wants to merge 1 commit into
apache:masterfrom
rajvarun77:ci-install-mysql
Closed

[DRAFT][ci] Install mysql-server for MySQL handshake integration tests#3318
rajvarun77 wants to merge 1 commit into
apache:masterfrom
rajvarun77:ci-install-mysql

Conversation

@rajvarun77
Copy link
Copy Markdown

Installs mysql-server in the two make-based Linux unittest jobs (clang-unittest, clang-unittest-asan) so the MySQL auth handshake integration test can run in CI instead of self-skipping. The test (added in #3310) brings up a throwaway mysqld via the which-then-spawn pattern from test/brpc_redis_unittest.cpp; this step symlinks mysqld onto PATH and stops the system service so the test owns the default port. Split out of #3310 to keep that PR's diff to the codec + tests. Depends on #3310 landing first (the test it enables ships there); harmless until then — it just installs an unused package.

🤖 Generated with Claude Code

The MySQL auth handshake integration test (added in the mysql codec
PR apache#3310) spins up a throwaway mysqld via the which-then-spawn pattern
from test/brpc_redis_unittest.cpp, skipping when the binary is absent.
Install mysql-server in both make-based unittest jobs so the test
actually runs in CI; symlink mysqld onto PATH and stop the system
service so the test owns the default port.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@rajvarun77
Copy link
Copy Markdown
Author

Closing — reverting all CI pipeline changes for now; the mysql-server install step will be revisited separately if/when the handshake integration test in #3310 lands.

@rajvarun77 rajvarun77 closed this May 31, 2026
@rajvarun77 rajvarun77 deleted the ci-install-mysql branch May 31, 2026 19:40
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