Skip to content

Commit

Permalink
Fix announce backoff test
Browse files Browse the repository at this point in the history
  • Loading branch information
jdomnitz committed Nov 15, 2024
1 parent 90adc36 commit 45b6f63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/ServiceDiscoveryTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 45b6f63

Please sign in to comment.