docs: add XML doc comments to server types and fix flaky test timings
Add XML doc comments to public properties across EventTypes, Connz, Varz, NatsOptions, StreamConfig, IStreamStore, FileStore, MqttListener, MqttSessionStore, MessageTraceContext, and JetStreamApiResponse. Fix flaky tests by increasing timing margins (ResponseTracker expiry 1ms→50ms, sleep 50ms→200ms) and document known flaky test patterns in tests.md.
This commit is contained in:
@@ -1160,11 +1160,11 @@ public sealed class FileStoreGoParityTests : IDisposable
|
||||
store.StoreMsg("foo", null, "1"u8.ToArray(), 0); // seq 1
|
||||
|
||||
// A small sleep so timestamps are distinct.
|
||||
System.Threading.Thread.Sleep(10);
|
||||
System.Threading.Thread.Sleep(50);
|
||||
var t2 = DateTime.UtcNow;
|
||||
store.StoreMsg("foo", null, "2"u8.ToArray(), 0); // seq 2
|
||||
|
||||
System.Threading.Thread.Sleep(10);
|
||||
System.Threading.Thread.Sleep(50);
|
||||
var t3 = DateTime.UtcNow;
|
||||
store.StoreMsg("foo", null, "3"u8.ToArray(), 0); // seq 3
|
||||
|
||||
|
||||
Reference in New Issue
Block a user