Skip to content

Commit ba628c3

Browse files
authored
CSHARP-5689: Disable flaky pool-clear-min-pool-size-error spec tests (#1747)
1 parent d8f8f7e commit ba628c3

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

tests/MongoDB.Driver.Tests/Specifications/UnifiedTestSpecRunner.cs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,15 @@ public void RetryableWrites(JsonDrivenTestCase testCase)
149149

150150
[Category("SDAM", "SupportLoadBalancing")]
151151
[UnifiedTestsTheory("server_discovery_and_monitoring.tests.unified")]
152-
public void ServerDiscoveryAndMonitoring(JsonDrivenTestCase testCase) =>
152+
public void ServerDiscoveryAndMonitoring(JsonDrivenTestCase testCase)
153+
{
154+
if (testCase.Name.Contains("pool-clear-"))
155+
{
156+
throw new SkipException("This test is flaky and is skipped while being investigated.");
157+
}
158+
153159
Run(testCase, IsSdamLogValid, new SdamRunnerEventsProcessor(testCase.Name));
160+
}
154161

155162
[Category("SupportLoadBalancing")]
156163
[UnifiedTestsTheory("server_selection.tests.logging")]

0 commit comments

Comments
 (0)