From 45b6f63988a394025da2298b0862332cbd83dc4b Mon Sep 17 00:00:00 2001 From: jdomnitz <380352+jdomnitz@users.noreply.github.com> Date: Fri, 15 Nov 2024 13:03:59 -0500 Subject: [PATCH] Fix announce backoff test --- test/ServiceDiscoveryTest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/ServiceDiscoveryTest.cs b/test/ServiceDiscoveryTest.cs index 715bce5..65b73e3 100644 --- a/test/ServiceDiscoveryTest.cs +++ b/test/ServiceDiscoveryTest.cs @@ -663,7 +663,7 @@ public void Announce_SentThrice() }; mdns.Start(); Assert.IsTrue(done.WaitOne(TimeSpan.FromSeconds(4)), "announce timeout"); - if ((DateTime.Now - start).TotalMilliseconds < 3000) + if ((DateTime.Now - start).TotalMilliseconds < 2500) Assert.Fail("Announcing too fast"); } finally