Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[release/8.0] Update SignalR Redis tests to use internal Docker Hub mirror#63117

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
wtgodbe merged 1 commit intorelease/8.0frombackport/pr-62936-to-release/8.0
Aug 5, 2025
Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletionssrc/SignalR/server/StackExchangeRedis/test/Docker.cs
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -16,7 +16,8 @@ public class Docker
{
privatestaticreadonlystring_exeSuffix=OperatingSystem.IsWindows()?".exe":string.Empty;

privatestaticreadonlystring_dockerContainerName="redisTestContainer";
privatestaticreadonlystring_redisImageName="dotnetdhmirror-f8bzbjakh8cga6ab.azurecr.io/library/redis:7.4";
privatestaticreadonlystring_dockerContainerName="redisTestContainer74";
privatestaticreadonlystring_dockerMonitorContainerName=_dockerContainerName+"Monitor";
privatestaticreadonlyLazy<Docker>_instance=newLazy<Docker>(Create);

Expand DownExpand Up@@ -112,7 +113,7 @@ void Run()
// use static name 'redisTestContainer' so if the container doesn't get removed we don't keep adding more
// use redis base docker image
// 30 second timeout to allow redis image to be downloaded, should be a rare occurrence, only happening when a new version is released
RunProcessAndThrowIfFailed(_path,$"run --rm -p 6379:6379 --name{_dockerContainerName} -dredis","redis",logger,TimeSpan.FromMinutes(1));
RunProcessAndThrowIfFailed(_path,$"run --rm -p 6379:6379 --name{_dockerContainerName} -d{_redisImageName}","redis",logger,TimeSpan.FromMinutes(1));
}
}

Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp