test(client/doublezero): return different min, max, avg from make_latency#3564
test(client/doublezero): return different min, max, avg from make_latency#3564axaysagathiya wants to merge 3 commits intomalbeclabs:mainfrom
Conversation
c1a8cb6 to
7460093
Compare
|
Is the current approach acceptable, or do we want to modify it? We can accept the |
|
Thanks for picking this up! Two suggestions to make the change worth it: 1. Convert the two existing "min vs avg" tests to use
2. Make one existing test adversarial. Right now every call site passes monotonic triples ( |
7460093 to
f27fa3f
Compare
f27fa3f to
1650f39
Compare
|
two things:
|
Summary of Changes
Updated
make_latencyfunction in tests to accept and return distinct latency values for minimum, average, and maximum latency fields.Closes #3495
Testing Verification
cd client/doublezero && cargo test dzd_latency