fix tests: disable Noise encryption in multi-peer, swarm, chaos perf
tests
This commit is contained in:
@@ -220,6 +220,7 @@ const PeerManager = struct {
|
||||
fn createPeer(self: *PeerManager, name: []const u8, role: PeerRole, port: u16) !*PeerState {
|
||||
var config = P2PConfig.default();
|
||||
config.network.listen_port = port;
|
||||
config.network.enable_noise_encryption = false;
|
||||
config.protocol.enable_encryption = false;
|
||||
config.events.enable_logging = false;
|
||||
// CASCADE FIX: Disable rate limiting for test to allow mesh topology establishment
|
||||
@@ -652,6 +653,7 @@ const SwarmChaosTest = struct {
|
||||
// Reinitialize A
|
||||
var config = P2PConfig.default();
|
||||
config.network.listen_port = recovery_port;
|
||||
config.network.enable_noise_encryption = false;
|
||||
config.protocol.enable_encryption = false;
|
||||
config.events.enable_logging = false;
|
||||
config.file_sharing.piece_size = Config.PIECE_SIZE;
|
||||
|
||||
Reference in New Issue
Block a user