Skip to content

DotNet.Testcontainers.Containers.ResourceReaperException : Initialization has been cancelled. #443

Answered by HofmeisterAn
dpraimeyuu asked this question in Q&A
Discussion options

You must be logged in to vote

It seems like you're having an issue I saw a few times in the past too. Until now, I couldn't reproduce it. Maybe we can figure it out together. Do you use the latest beta release?

When running Setup in the test method, after a period of time such exception is thrown:
How much time is in between?

You'll get this exception if Testcontainers can't establish a connection to the Resource Reaper (Ryuk) within 10 seconds.
https://github.com/HofmeisterAn/dotnet-testcontainers/blob/b99957969f1bf8d1615196f1a77899cb5d51c76e/src/DotNet.Testcontainers/Containers/ResourceReaper.cs#L229

Testcontainers starts with the first container, the Resource Reaper, in the background. Can you start the Resource …

Replies: 1 comment 11 replies

Comment options

You must be logged in to vote
11 replies
@dpraimeyuu
Comment options

@srollinet
Comment options

@HofmeisterAn
Comment options

@srollinet
Comment options

@davidpetric
Comment options

Answer selected by HofmeisterAn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants