Skip to content

feat(starrocks): add StarRocks module#898

Open
negatic wants to merge 2 commits intotestcontainers:mainfrom
negatic:main
Open

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

Conversation

@negatic
Copy link
Copy Markdown

@negatic negatic commented Oct 8, 2025

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🛠️ needs more work Need to invest more time, can be a rebase or code updates ✨ package: new

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants