Skip to content

feat(starrocks): add StarRocks module - #898

Closed
negatic wants to merge 2 commits into
testcontainers:mainfrom
negatic:main
Closed

feat(starrocks): add StarRocks module#898
negatic wants to merge 2 commits into
testcontainers:mainfrom
negatic:main

Conversation

@negatic

@negatic negatic commented Oct 8, 2025

Copy link
Copy Markdown

Preview

This PR adds comprehensive support for StarRocks database containers to testcontainers-python, enabling developers to easily spin up StarRocks instances for testing and development purposes.

Changes Made

  • StarRocksContainer class extending DbContainer
  • Support for StarRocks all-in-one Ubuntu image (3.5.3)
  • Configurable ports for different StarRocks services (query, HTTP, RPC, edit log, heartbeat)
  • MySQL-compatible connection using PyMySQL driver
  • Environment variable support for credentials (STARROCKS_USER, STARROCKS_PASSWORD)
  • Automatic database creation on container startup

Tests

  • Health check test via HTTP API endpoint
  • SQLAlchemy integration test with version verification
  • Proper test isolation and cleanup

@Tranquility2 Tranquility2 changed the title Add StarRocks Database Container Support feature(starrocks): add StarRocks module Apr 3, 2026
@Tranquility2 Tranquility2 changed the title feature(starrocks): add StarRocks module feat(starrocks): add StarRocks module Apr 3, 2026
@Tranquility2 Tranquility2 added the 🛠️ needs more work Need to invest more time, can be a rebase or code updates label Apr 3, 2026
@negatic

negatic commented Jun 13, 2026

Copy link
Copy Markdown
Author

@Tranquility2 can we please get a update on this if it could be merged potentially?

@alexanderankin alexanderankin removed ✨ package: new 🛠️ needs more work Need to invest more time, can be a rebase or code updates labels Jun 13, 2026
@alexanderankin

Copy link
Copy Markdown
Member

I've never heard of starrocks; if you want this module published, you can simply make and account on pypi and add testcontainers as a dependency of it.

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.

3 participants