From 92804a726deabae0ee1dd036ae748fe32f86c6f7 Mon Sep 17 00:00:00 2001 From: thefringeninja <495495+thefringeninja@users.noreply.github.com> Date: Mon, 11 Jan 2021 10:09:38 +0100 Subject: [PATCH] skip flakey regression on net .framework --- .../Bugs/Issue_1125.cs | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/test/EventStore.Client.PersistentSubscriptions.Tests/Bugs/Issue_1125.cs b/test/EventStore.Client.PersistentSubscriptions.Tests/Bugs/Issue_1125.cs index 89d2bd9ba..0b4b6c104 100644 --- a/test/EventStore.Client.PersistentSubscriptions.Tests/Bugs/Issue_1125.cs +++ b/test/EventStore.Client.PersistentSubscriptions.Tests/Bugs/Issue_1125.cs @@ -16,9 +16,16 @@ public Issue_1125(Fixture fixture) { public static IEnumerable TestCases() => Enumerable.Range(0, 50) .Select(i => new object[] {i}); - [Theory, MemberData(nameof(TestCases))] + [Theory( +#if NETFRAMEWORK + Skip = "Really flaky on .net frameork" +#endif + ), MemberData(nameof(TestCases))] public async Task persistent_subscription_delivers_all_events(int iteration) { - const int eventCount = 250; + if (Environment.OSVersion.IsWindows()) { + + } + const int eventCount = 250; const int totalEvents = eventCount * 2; var completed = new TaskCompletionSource();