fix infra: saturating memory tracker, check build imports, buffer growth
test
This commit is contained in:
@@ -99,8 +99,8 @@ test "replay protection cleanup handles allocation failures" {
|
||||
const peer_id = [_]u8{1} ** 32;
|
||||
|
||||
// Add some old messages that should be cleaned up
|
||||
try protector.checkMessage(1, old_time, 1000, 0, peer_id);
|
||||
try protector.checkMessage(2, old_time, 1001, 0, peer_id);
|
||||
try protector.checkMessage(1, old_time, 1000, 0, peer_id, 0);
|
||||
try protector.checkMessage(2, old_time, 1001, 0, peer_id, 0);
|
||||
|
||||
// Force cleanup - should handle any allocation failures gracefully
|
||||
protector.forceCleanup();
|
||||
|
||||
Reference in New Issue
Block a user