test(ipc): refresh proto descriptor set + MaxMessageBytes default expectation
Follow-up to the IPC-02 proto change and IPC-03 headroom default: - regenerate clients/proto/descriptors/mxaccessgw-client-v1.protoset with the pinned protoc 34.1 so it carries GatewayHello.max_frame_bytes (IPC-01 descriptor refresh; ClientProtoInputTests.Descriptor_ContainsEveryContractMessageAndField). - update GatewayOptionsTests design-default assertion to 16 MiB + 64 KiB reserve.
This commit is contained in:
Binary file not shown.
@@ -35,7 +35,8 @@ public sealed class GatewayOptionsTests
|
||||
Assert.Equal(10, options.Worker.ShutdownTimeoutSeconds);
|
||||
Assert.Equal(5, options.Worker.HeartbeatIntervalSeconds);
|
||||
Assert.Equal(15, options.Worker.HeartbeatGraceSeconds);
|
||||
Assert.Equal(16 * 1024 * 1024, options.Worker.MaxMessageBytes);
|
||||
// 16 MiB public gRPC cap plus the 64 KiB worker-frame envelope reserve (IPC-03 headroom).
|
||||
Assert.Equal((16 * 1024 * 1024) + (64 * 1024), options.Worker.MaxMessageBytes);
|
||||
|
||||
Assert.Equal(30, options.Sessions.DefaultCommandTimeoutSeconds);
|
||||
Assert.Equal(64, options.Sessions.MaxSessions);
|
||||
|
||||
Reference in New Issue
Block a user