chore: tighten release readiness checks
This commit is contained in:
1 parent
e117813578
commit
c7a0e5d055
3 files changed
+62
-2
No files matched your search
@@ -894,7 +894,6 @@ mod tests {
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(feature = "stats")]
|
||||
fn negative_adjusted_reply_event() -> ClientEvent {
|
||||
ClientEvent::EchoReply {
|
||||
seq: 8,
|
||||
@@ -1233,6 +1232,22 @@ mod tests {
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn human_and_simple_print_negative_effective_rtt() {
|
||||
let event = negative_adjusted_reply_event();
|
||||
|
||||
assert!(format_event(&event, OutputMode::Human)
|
||||
.unwrap()
|
||||
.contains("rtt=-1.5ms"));
|
||||
assert_eq!(
|
||||
format_event(&event, OutputMode::Simple),
|
||||
Some(
|
||||
"reply seq=8 remote=127.0.0.1:2112 rtt_us=-1500 raw_rtt_us=500 server_processing_us=2000"
|
||||
.to_owned()
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(feature = "stats")]
|
||||
fn streamed_and_summary_rtt_use_signed_effective_policy() {
|
||||
|
||||
Reference in new issue
Block a user