Skip to content

Conversation

@Argonus
Copy link
Contributor

@Argonus Argonus commented Jan 13, 2026

Overview

Add support for ToxiProxy docker container, this tool allows us to use the full power of Test containers in chaos testing, introducing downtimes, latency, timeouts, and many more in testing.

Toxiproxy needs to operate in the same network and have a known host to create a proxy between the client & proper container, then we can corrupt the connection for a single test need.

@Argonus Argonus changed the title Add toxiproxy support to test containers Add toxiproxy support to test containers [Work In Progress] Jan 13, 2026
@Argonus Argonus force-pushed the add-toxiproxy-support-to-test-containers branch from cca91a7 to a3dbd1f Compare January 14, 2026 09:53
@Argonus Argonus marked this pull request as ready for review January 14, 2026 09:58
@Argonus Argonus changed the title Add toxiproxy support to test containers [Work In Progress] Add toxiproxy support to test containers Jan 14, 2026
@Argonus Argonus force-pushed the add-toxiproxy-support-to-test-containers branch from a3dbd1f to 9a2f926 Compare January 14, 2026 11:40
@Argonus
Copy link
Contributor Author

Argonus commented Jan 22, 2026

Hey @jarlah, I think this one might be very useful, I've tested it with kafka container ensuring that different latency & errors are handled properly. Any thoughts about it?

Copy link
Member

@jarlah jarlah left a comment

Choose a reason for hiding this comment

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

some questions :) But could work i guess?

@jarlah
Copy link
Member

jarlah commented Jan 31, 2026

@Argonus So its basically a new container. for now. Thats ok. I like chaos monkeys. Lets bring in one ;) just look at my comments

@Argonus Argonus force-pushed the add-toxiproxy-support-to-test-containers branch from 8bd9983 to b02e2be Compare February 1, 2026 10:09
@Argonus
Copy link
Contributor Author

Argonus commented Feb 1, 2026

@jarlah Appied :) Sorry for code quality, I was focused on applying tests based on that in other repo, and this work was mostly done by Claude :P

@Argonus Argonus requested a review from jarlah February 1, 2026 10:10
@jarlah
Copy link
Member

jarlah commented Feb 1, 2026

@jarlah Appied :) Sorry for code quality, I was focused on applying tests based on that in other repo, and this work was mostly done by Claude :P

i use opencode and gemini ;) wouldnt have energy to work on opensource without any AI :P

Copy link
Member

@jarlah jarlah left a comment

Choose a reason for hiding this comment

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

Nice work :)

@jarlah jarlah merged commit 1faecdb into testcontainers:main Feb 1, 2026
8 checks passed
@Argonus Argonus deleted the add-toxiproxy-support-to-test-containers branch February 1, 2026 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants