There are two issues and neither is strictly a bug in the test really.
1. The server seems to drop our first frame (unless we sleep first). TODO: investigate. This may turn out to be a "feature" as we apparently intentionally drop frames on server restarts already.
2. When #1 happens the latency stats are wrong. That's all I'm fixing here.
There are two issues and neither is strictly a bug in the test really.
1. The server seems to drop our first frame (unless we sleep first). TODO: investigate. This may turn out to be a "feature" as we apparently intentionally drop frames on server restarts already.
2. When #1 happens the latency stats are wrong. That's all I'm fixing here.