Skip to content

Commit de385a0

Browse files
committed
avoid Failed nomenclature in tests - makes it hard to isolate CI problems
1 parent f429db6 commit de385a0

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

tests/StackExchange.Redis.Tests/ConnectionFailedErrorsTests.cs renamed to tests/StackExchange.Redis.Tests/ConnectionFailureErrorsTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
namespace StackExchange.Redis.Tests;
99

10-
public class ConnectionFailedErrorsTests(ITestOutputHelper output) : TestBase(output)
10+
public class ConnectionFailureErrorsTests(ITestOutputHelper output) : TestBase(output)
1111
{
1212
[Theory]
1313
[InlineData(true)]

tests/StackExchange.Redis.Tests/ConnectionShutdownTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public class ConnectionShutdownTests(ITestOutputHelper output) : TestBase(output
99
{
1010
[Fact(Skip = "Unfriendly")]
1111
[Trait(TestCategories.Category, TestCategories.SimulatedConnectionFailure)]
12-
public async Task ShutdownRaisesConnectionFailedAndRestore()
12+
public async Task ShutdownRaisesConnectionFailureAndRestore()
1313
{
1414
await using var conn = Create(allowAdmin: true, allowSimulateConnectionFailure: true);
1515

tests/StackExchange.Redis.Tests/GlobalSuppressions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55

66
using System.Diagnostics.CodeAnalysis;
77

8-
[assembly: SuppressMessage("Redundancy", "RCS1163:Unused parameter.", Justification = "Pending", Scope = "member", Target = "~M:StackExchange.Redis.Tests.ConnectionFailedErrorsTests.SSLCertificateValidationError(System.Boolean)")]
8+
[assembly: SuppressMessage("Redundancy", "RCS1163:Unused parameter.", Justification = "Pending", Scope = "member", Target = "~M:StackExchange.Redis.Tests.ConnectionFailureErrorsTests.SSLCertificateValidationError(System.Boolean)")]
99
[assembly: SuppressMessage("Redundancy", "RCS1163:Unused parameter.", Justification = "Pending", Scope = "member", Target = "~M:StackExchange.Redis.Tests.PubSubTests.ExplicitPublishMode")]
1010
[assembly: SuppressMessage("Redundancy", "RCS1163:Unused parameter.", Justification = "Pending", Scope = "member", Target = "~M:StackExchange.Redis.Tests.SSLTests.ConnectToSSLServer(System.Boolean,System.Boolean)")]
1111
[assembly: SuppressMessage("Redundancy", "RCS1163:Unused parameter.", Justification = "Pending", Scope = "member", Target = "~M:StackExchange.Redis.Tests.SSLTests.ShowCertFailures(StackExchange.Redis.Tests.Helpers.TextWriterOutputHelper)~System.Net.Security.RemoteCertificateValidationCallback")]
12-
[assembly: SuppressMessage("Usage", "xUnit1004:Test methods should not be skipped", Justification = "Pending", Scope = "member", Target = "~M:StackExchange.Redis.Tests.ConnectionShutdownTests.ShutdownRaisesConnectionFailedAndRestore")]
12+
[assembly: SuppressMessage("Usage", "xUnit1004:Test methods should not be skipped", Justification = "Pending", Scope = "member", Target = "~M:StackExchange.Redis.Tests.ConnectionShutdownTests.ShutdownRaisesConnectionFailureAndRestore")]
1313
[assembly: SuppressMessage("Usage", "xUnit1004:Test methods should not be skipped", Justification = "Pending", Scope = "member", Target = "~M:StackExchange.Redis.Tests.Issues.BgSaveResponseTests.ShouldntThrowException(StackExchange.Redis.SaveType)")]
1414
[assembly: SuppressMessage("Roslynator", "RCS1077:Optimize LINQ method call.", Justification = "Pending", Scope = "member", Target = "~M:StackExchange.Redis.Tests.SentinelTests.PrimaryConnectTest~System.Threading.Tasks.Task")]
1515
[assembly: SuppressMessage("Roslynator", "RCS1077:Optimize LINQ method call.", Justification = "Pending", Scope = "member", Target = "~M:StackExchange.Redis.Tests.SentinelTests.PrimaryConnectAsyncTest~System.Threading.Tasks.Task")]

0 commit comments

Comments
 (0)