Skip to content

Enable use of Testcontainers#3715

Merged
fredericDelaporte merged 3 commits intonhibernate:masterfrom
gliljas:testcontainers
Nov 9, 2025
Merged

Enable use of Testcontainers#3715
fredericDelaporte merged 3 commits intonhibernate:masterfrom
gliljas:testcontainers

Conversation

@gliljas
Copy link
Copy Markdown
Member

@gliljas gliljas commented Oct 29, 2025

Just something that you can opt in to. By specifying a connectionstring like "testcontainers=oracle", you can run tests on an Oracle database without the hassle of setting one up.

There's certainly room for more extensibility and possibly a "keep-alive" feature, but this works reasonably well.

@gliljas
Copy link
Copy Markdown
Member Author

gliljas commented Oct 30, 2025

I don't understand the build errors.

Copy link
Copy Markdown
Member

@fredericDelaporte fredericDelaporte left a comment

Choose a reason for hiding this comment

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

Failures seems unrelated.

Oracle ones are its usual recurring timeout.

AppVeyor looks like some temporary outage.

I have relaunched these builds.

Comment thread src/NHibernate.Test/TestContainerSetup.cs Outdated
Co-authored-by: Frédéric Delaporte <12201973+fredericDelaporte@users.noreply.github.com>
@fredericDelaporte fredericDelaporte added this to the next minor milestone Nov 4, 2025
@fredericDelaporte fredericDelaporte enabled auto-merge (squash) November 9, 2025 17:05
@fredericDelaporte fredericDelaporte merged commit 278d482 into nhibernate:master Nov 9, 2025
20 of 27 checks passed
@hazzik hazzik mentioned this pull request Nov 12, 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