From d8741d1b0f6dbb47f4e6894d719a10aca02e93db Mon Sep 17 00:00:00 2001 From: BrennanConroy Date: Tue, 7 Aug 2018 10:20:11 -0700 Subject: [PATCH] Skip Redis tests on macOS (#2740) --- test/Microsoft.AspNetCore.SignalR.Redis.Tests/Docker.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/Microsoft.AspNetCore.SignalR.Redis.Tests/Docker.cs b/test/Microsoft.AspNetCore.SignalR.Redis.Tests/Docker.cs index 94b19673e7..29285aa3e6 100644 --- a/test/Microsoft.AspNetCore.SignalR.Redis.Tests/Docker.cs +++ b/test/Microsoft.AspNetCore.SignalR.Redis.Tests/Docker.cs @@ -50,6 +50,13 @@ namespace Microsoft.AspNetCore.SignalR.Redis.Tests private static string GetDockerLocation() { + // OSX + Docker + Redis don't play well together for some reason. We already have these tests covered on Linux and Windows + // So we are happy ignoring them on OSX + if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX)) + { + return null; + } + foreach (var dir in Environment.GetEnvironmentVariable("PATH").Split(Path.PathSeparator)) { var candidate = Path.Combine(dir, "docker" + _exeSuffix);