Tweak the testcontainers setup by arthurschreiber · Pull Request #1460 · github/gh-ost

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@arthurschreiber

Copy link Copy Markdown

Contributor

Description

This PR attempts to improve the testcontainers ergonomics.

  • Added a new SkipPortValidation on the migration context. This is only used internally and allows skipping the port validation, which is useful with MySQL containers running in docker with a randomly assigned "external" port.

In case this PR introduced Go code changes:

  • contributed code is using same conventions as original code
  • script/cibuild returns with no formatting errors, build errors or unit test errors.

meiji163

meiji163 previously approved these changes Oct 23, 2024

meiji163

meiji163 previously approved these changes Oct 23, 2024

@meiji163 meiji163 merged commit 42c0f08 into master

Nov 18, 2024

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

Reviewers

@meiji163 meiji163 meiji163 approved these changes

@rashiq rashiq Awaiting requested review from rashiq rashiq is a code owner

@timvaillancourt timvaillancourt Awaiting requested review from timvaillancourt timvaillancourt is a code owner

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@arthurschreiber @meiji163