|
|
@@ -2425,6 +2425,9 @@ func checkExpectedServerTunnelLogFields(
|
|
|
"established_tunnels_count",
|
|
|
"network_latency_multiplier",
|
|
|
"network_type",
|
|
|
+ "bytes",
|
|
|
+ "ssh_protocol_bytes",
|
|
|
+ "ssh_protocol_bytes_overhead",
|
|
|
|
|
|
// The test run ensures that logServerLoad is invoked while the client
|
|
|
// is connected, so the following must be logged.
|
|
|
@@ -2436,6 +2439,14 @@ func checkExpectedServerTunnelLogFields(
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ if !(fields["ssh_protocol_bytes"].(int64) > 0) {
|
|
|
+ return fmt.Errorf("unexpected zero ssh_protocol_bytes")
|
|
|
+ }
|
|
|
+
|
|
|
+ if !(fields["ssh_protocol_bytes"].(int64) > fields["bytes"].(int64)) {
|
|
|
+ return fmt.Errorf("unexpected ssh_protocol_bytes < bytes")
|
|
|
+ }
|
|
|
+
|
|
|
appliedTacticsTag := len(fields[tactics.APPLIED_TACTICS_TAG_PARAMETER_NAME].(string)) > 0
|
|
|
if expectAppliedTacticsTag != appliedTacticsTag {
|
|
|
return fmt.Errorf("unexpected applied_tactics_tag")
|