Skip to content

More docker resiliency for tests #10425

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 23, 2019
Merged

More docker resiliency for tests #10425

merged 1 commit into from
May 23, 2019

Conversation

BrennanConroy
Copy link
Member

@BrennanConroy BrennanConroy added the area-signalr Includes: SignalR clients and servers label May 21, 2019
@@ -81,6 +81,9 @@ private void StartRedis(ILogger logger)
{
logger.LogError(ex, "Error starting redis docker container, retrying.");
Thread.Sleep(1000);

// Call stop just in case the container somehow started after the timeout so our retry logic doesn't fail
RunProcessAndWait(_path, $"stop {_dockerContainerName}", "docker stop", logger, TimeSpan.FromSeconds(15), out var _);
Copy link
Contributor

Choose a reason for hiding this comment

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

Will this throw if the container is already stopped?

Copy link
Member Author

Choose a reason for hiding this comment

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

Nope, that would be RunProcessAndThrowIfFailed

@BrennanConroy
Copy link
Member Author

Ping

@BrennanConroy
Copy link
Member Author

@aspnet-hello
Copy link

This comment was made automatically. If there is a problem contact [email protected].

I've triaged the above build. I've created/commented on the following issue(s)
https://github.com/aspnet/AspNetCore-Internal/issues/2490

@BrennanConroy BrennanConroy merged commit c05244c into master May 23, 2019
@ghost ghost deleted the brecon/docker branch May 23, 2019 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-signalr Includes: SignalR clients and servers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants