Skip to content

Clean duplicate in regex for log message wait strategy#7304

Merged
kiview merged 2 commits into
testcontainers:mainfrom
RustedBones:clean-duplicate-matcher
May 23, 2024
Merged

Clean duplicate in regex for log message wait strategy#7304
kiview merged 2 commits into
testcontainers:mainfrom
RustedBones:clean-duplicate-matcher

Conversation

@RustedBones

Copy link
Copy Markdown
  • Remove regex prefix (?s) in wait strategy since already set here
  • Generalize Wait.forLogMessage helper for constructing LogMessageWaitStrategy.

@kiview kiview left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @RustedBones, terrible sorry for never looking into it.

LGTM, I just triggered CI and if everything is green, I don't see a reason why we shouldn't merge it, since it is a nice improvement of consistency.

@kiview kiview added this to the next milestone May 23, 2024
@kiview kiview merged commit 6658a2c into testcontainers:main May 23, 2024
@kiview

kiview commented May 23, 2024

Copy link
Copy Markdown
Member

Thank you @RustedBones, merged 🙏

fokion pushed a commit to fokion/testcontainers-java that referenced this pull request Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants