feat: Add pausing and unpausing container#1315
feat: Add pausing and unpausing container#1315HofmeisterAn merged 7 commits intotestcontainers:developfrom
Conversation
✅ Deploy Preview for testcontainers-dotnet ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
HofmeisterAn
left a comment
There was a problem hiding this comment.
Thanks for the PR. Before I review it, could you please add a test? I'm not sure how we can properly test it, but maybe it's enough to run a simple alpine container, pause it, and check its state?
Yeah, I was not sure either. Gonna look into a basic test. Where would you want me to put it? testContainers.Tests Unit/Containers/Unix |
* fixed a bug in unpause. We now only unpause when the container is in State.Pause
Just put it into the |
Done |
HofmeisterAn
left a comment
There was a problem hiding this comment.
Thanks for the PR! I made some minor changes (mostly related to the documentation). If you’re OK with the changes, we can go ahead and merge the PR. Thanks again.
What does this PR do?
Added Methods to Pause and Unpause an container
Why is it important?
Wanted to change some tests in CoreWCF to Testcontainers. Pause and Unpause is used there. Tho I need those methods to continue the implementation