| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Not really sure why it failed on CI, i will try to fix it during the weekend |
Sorry, something went wrong.
|
@bsideup I've abandoned it because of lack of response. If you're still interested, I could resurrect the idea. |
Sorry, something went wrong.
|
@slnowak you did a great job and for sure we wish to see the final result! :) Do you need some help from our side? |
Sorry, something went wrong.
|
I will try to find some time to work on it this week and give you some updates. |
Sorry, something went wrong.
|
Great, thanks :) |
Sorry, something went wrong.
…not working properly due to pumba issues
…ment (i.e. docker-machine, boot2docker))
|
@bsideup |
Sorry, something went wrong.
|
Hi @slnowak, Looks impressive! I'll do my best to find time to re-review it soon 👍 If you want, I can create a repo under "testcontainers" org for you, so that you can put this module there and even take the ownership :) We already did that for a couple of modules: Or we can do the merge and extract it ourselves. Just let me know what works best for you! Thanks! |
Sorry, something went wrong.
|
Reviewing and hoping to have a good play with this on a flight today. Looking pretty great so far though :) |
Sorry, something went wrong.
| super.start(); | ||
| } | ||
|
|
||
| private static class DoNotCheckStartup extends StartupCheckStrategy { |
There was a problem hiding this comment.
It looks like the end goal might be similar to what OneShotStartupCheckStrategy does. Did you see that?
The One Shot strategy makes sure the container has both started and stopped successfully. Would this be helpful (e.g. avoiding race conditions or odd pumba command failures)?
Sorry, something went wrong.
There was a problem hiding this comment.
I've already tried it and it didn't work well with pubma. Maybe I will take another look on that.
Sorry, something went wrong.
| return this; | ||
| } | ||
|
|
||
| public DelayOutgoingPackets withCorreltaion(int correlation) { |
There was a problem hiding this comment.
Typo: Correlation
Sorry, something went wrong.
|
@bsideup I will address the pr over the weekend + I will check how it behaves on multiple networks + stuff. Sorry about the delay, I’m kind of busy during the week. |
Sorry, something went wrong.
|
@slnowak no, we should be sorry for not reviewing it in time :D I'm assigning myself to this PR - feel free to ping me anytime (including Slack), let's deliver it 💪 |
Sorry, something went wrong.
|
@bsideup We can also evaluate the regexp in java code and check at runtime if it matches any container that is started outside testcontainers, however it only partially solves the problem (in case of recurring command, it can affect any container started later than pumba) |
Sorry, something went wrong.
|
Hi @slnowak, Yes, a PR to Pumba sounds like the way to go 👍 |
Sorry, something went wrong.
|
Ok, I will work on pumba PR in a day or two. |
Sorry, something went wrong.
|
@slnowak thanks a lot for your efforts on bringing this! Amazing commitment 💪 |
Sorry, something went wrong.
|
For reference alexei-led/pumba#86 |
Sorry, something went wrong.
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe this is a mistake, please reply to this comment to keep it open. If there isn't one already, a PR to fix or at least reproduce the problem in a test case will always help us get back on track to tackle this. |
Sorry, something went wrong.
|
Let’s keep this one open! Sent with GitHawk |
Sorry, something went wrong.
|
This issue has been automatically closed due to inactivity. We apologise if this is still an active problem for you, and would ask you to re-open the issue if this is the case. |
Sorry, something went wrong.
Based on https://gist.github.com/rnorth/4c3666d62fa93bf0daa813b282e4ebff, in turn based on [hotels.com’s blog post](https://medium.com/hotels-com-technology/i-dont-know-about-resilience-testing-and-so-can-you-b3c59d80012d) where they show use of Testcontainers with Toxiproxy. Having seen Toxiproxy and experimented with it, I'm inclined to go with this and suggest that we not move forward with #283 (which is a great PR, but we've unfortunately failed to land after quite a long time). While Pumba may be nice and transparent, there are a lot of moving parts and complexity under the covers, vs Toxiproxy, which is a bit less magical but easier to understand.
|
I'm afraid it's time to close this PR - sorry that we didn't manage to land it in the end. We've just released a Toxiproxy module for resilience testing, which is arguably a less sophisticated model, but is much simpler from an implementation perspective. I hope the Toxiproxy module meets the needs of anyone following this PR. @slnowak thanks for your efforts, and sorry if you feel the work was in vain. Your idea, to be able to conduct chaos testing with Testcontainers, is still going to make a big difference for Testcontainers users and we're grateful for that. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Ok, this would be probably first approach to tackle this, since I don't really have much time right now to improve it.
It's not yet fully done, but please at least review it.