Don't set Redis timeout (#3154)
This commit is contained in:
parent
d3aaf1f542
commit
e68c8025d5
|
|
@ -92,7 +92,7 @@ namespace Microsoft.AspNetCore.SignalR.Redis.Tests
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[ConditionalTheory(Skip= "https://github.com/aspnet/SignalR/issues/3058")]
|
[ConditionalTheory]
|
||||||
[SkipIfDockerNotPresent]
|
[SkipIfDockerNotPresent]
|
||||||
[MemberData(nameof(TransportTypesAndProtocolTypes))]
|
[MemberData(nameof(TransportTypesAndProtocolTypes))]
|
||||||
public async Task CanSendAndReceiveUserMessagesFromMultipleConnectionsWithSameUser(HttpTransportType transportType, string protocolName)
|
public async Task CanSendAndReceiveUserMessagesFromMultipleConnectionsWithSameUser(HttpTransportType transportType, string protocolName)
|
||||||
|
|
|
||||||
|
|
@ -20,8 +20,6 @@ namespace Microsoft.AspNetCore.SignalR.Redis.Tests
|
||||||
.AddMessagePackProtocol()
|
.AddMessagePackProtocol()
|
||||||
.AddRedis(options =>
|
.AddRedis(options =>
|
||||||
{
|
{
|
||||||
// We start the servers before starting redis so we want to time them out ASAP
|
|
||||||
options.Configuration.ConnectTimeout = 1;
|
|
||||||
options.Configuration.EndPoints.Add(Environment.GetEnvironmentVariable("REDIS_CONNECTION-PREV"));
|
options.Configuration.EndPoints.Add(Environment.GetEnvironmentVariable("REDIS_CONNECTION-PREV"));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -92,7 +92,7 @@ namespace Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[ConditionalTheory(Skip= "https://github.com/aspnet/SignalR/issues/3058")]
|
[ConditionalTheory]
|
||||||
[SkipIfDockerNotPresent]
|
[SkipIfDockerNotPresent]
|
||||||
[MemberData(nameof(TransportTypesAndProtocolTypes))]
|
[MemberData(nameof(TransportTypesAndProtocolTypes))]
|
||||||
public async Task CanSendAndReceiveUserMessagesFromMultipleConnectionsWithSameUser(HttpTransportType transportType, string protocolName)
|
public async Task CanSendAndReceiveUserMessagesFromMultipleConnectionsWithSameUser(HttpTransportType transportType, string protocolName)
|
||||||
|
|
|
||||||
|
|
@ -20,8 +20,6 @@ namespace Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests
|
||||||
.AddMessagePackProtocol()
|
.AddMessagePackProtocol()
|
||||||
.AddStackExchangeRedis(options =>
|
.AddStackExchangeRedis(options =>
|
||||||
{
|
{
|
||||||
// We start the servers before starting redis so we want to time them out ASAP
|
|
||||||
options.Configuration.ConnectTimeout = 1;
|
|
||||||
options.Configuration.EndPoints.Add(Environment.GetEnvironmentVariable("REDIS_CONNECTION"));
|
options.Configuration.EndPoints.Add(Environment.GetEnvironmentVariable("REDIS_CONNECTION"));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue