←
Andre Hofmeister226 posts
Andre Hofmeister avatar

Andre Hofmeister

@hovfefe

Maintaining @testcontainers | Contributing to OSS | Automating builds, tests and infrastructures | Making devs happy | @ZEISS_Group | Docker Captain

◷ Joined July 2014▧ 13 Photos and videos
Andre Hofmeister avatar
Andre Hofmeister@hovfefe·14 Apr 2025

Super excited to join the @Docker Captains Program 🎉 Honored to see my work on Testcontainers for .NET (and soon Docker.DotNet) being recognized. Looking forward to contributing to Docker, .NET, and open-source projects with the amazing folks in the program :tc-love:

Andre Hofmeister avatar
Andre Hofmeister@hovfefe·Nov 16

Each module's docs now list its default configuration, so you can see what you get out of the box before you start overriding configurations.

Andre Hofmeister avatar
Andre Hofmeister@hovfefe·Nov 16

Testcontainers for .NET 4.17 is out 💪: github.com/testcontainers/te…. Many fixes, plus three new modules: Vault, Chroma, and MongoDB Atlas Local. Spin them up in your tests with a few lines of code. Thanks to everyone who contributed!

Andre Hofmeister avatar
Andre Hofmeister@hovfefe·Oct 12

Elasticsearch 9.5+ accepts OTLP over HTTP, apps can send traces straight to the container. Use HttpProtobuf and GetOtlpEndpoint() + "v1/traces", then query Elasticsearch to verify the spans arrived. Test the real export path, not just span creation.

Andre Hofmeister avatar
Andre Hofmeister@hovfefe·Oct 12

New in Testcontainers for .NET 4.16: the Elasticsearch module now exposes GetOtlpEndpoint(). You can send real OpenTelemetry traces straight to Elasticsearch 9.5+ and verify they're actually indexed. No collector needed. @elastic

Post attachment
Andre Hofmeister avatar
Andre Hofmeister@hovfefe·Oct 9

Testcontainers built through the Docker Engine API, which has no BuildKit. No secret mounts, no here-documents. New in Testcontainers for .NET 4.16: the image build runs on BuildKit, from a sidecar container.

Post attachment
Andre Hofmeister avatar
Andre Hofmeister@hovfefe·Oct 9

🚀 Testcontainers for .NET 4.16.0 has landed! BuildKit support, a common WithSsl builder API, and a round of fixes for Kafka, PostgreSQL and more: github.com/testcontainers/te…. Huge thanks to our community for the contributions and feedback 🧡.

Andre Hofmeister avatar
Andre Hofmeister@hovfefe·Sep 10

We forked Docker.DotNet into @testcontainers after the original repo went inactive (no maintainer response, no merged PRs, no fixes for a long time). We're now actively developing it. GitHub still defaults new PRs to the dead upstream repo, confusing contributors.

Andre Hofmeister avatar
Andre Hofmeister@hovfefe·Sep 10

Toxiproxy sits between the test and the dependency on the same Docker network. Toxics go on while the test runs: latency, bandwidth caps, dropped connections, slow close. Toxicity is a probability, so you can degrade 30% of calls instead of all of them. dotnet.testcontainers.org/mo…

Andre Hofmeister avatar
Andre Hofmeister@hovfefe·Sep 10

Everyone adds a retry policy. Almost nobody tests it. It sits in the pipeline for two years, and the first time it runs for real is during an incident. Bad moment to learn its timeout is longer than the one above it. Put Toxiproxy in front of Redis and break the network.

Post attachment
Jesús Espino avatar
⟳ Andre Hofmeister retweeted
Jesús Espino@jespinog·Sep 7

The third guest post on Internals for Interns is live! "Understanding Testcontainers: The Ryuk Reaper" is written by @mdelapenya, a friend from the Go community, Staff Engineer at @Docker and the maintainer of testcontainers-go. He also writes the "Understanding Testcontainers" series on his own blog, so check that out. In this post he talks about Ryuk, a small sidecar container whose only job is deleting the Docker resources your tests created, when your tests die. The design has three pieces, and they're all beautifully small: - Labels answer "what's mine?" - A held TCP connection that works as a deadman switch. - A grace period stops false positives. Read it here: internals-for-interns.com/po… #Go #Docker #Testcontainers