Skip to content

Commit 9f4dea4

Browse files
committed
What the hell is that static doing there?!?@, #$MRI#FMQO:wqefoQ@#<:w
fuuuuuuuuuuuuuuuuuu
1 parent b82caef commit 9f4dea4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

StackExchange.Redis.Tests/TestBase.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ protected void OnInternalError(object sender, InternalErrorEventArgs e)
106106
private static AsyncLocal<int> sharedFailCount = new AsyncLocal<int>();
107107
private volatile int expectedFailCount;
108108

109-
private static readonly List<string> privateExceptions = new List<string>();
109+
private readonly List<string> privateExceptions = new List<string>();
110110
private static readonly List<string> backgroundExceptions = new List<string>();
111111

112112
public void ClearAmbientFailures()
@@ -167,7 +167,7 @@ public void Teardown()
167167
Output.WriteLine(item);
168168
}
169169
}
170-
Assert.True(false, $"There were {privateFailCount} private and {sharedFailCount} ambient exceptions; expected {expectedFailCount}.");
170+
Assert.True(false, $"There were {privateFailCount} private and {sharedFailCount.Value} ambient exceptions; expected {expectedFailCount}.");
171171
}
172172
}
173173

0 commit comments

Comments
 (0)