Skip to content

Commit a13e1d5

Browse files
committed
Fixed regression
1 parent ed98cff commit a13e1d5

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

src/DotNext.Tests/Net/Cluster/Consensus/Raft/NetworkTransport/ConnectionOriented/Custom/CustomTransportTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ static RaftCluster CreateCluster(int port, bool coldStart, IPersistentState wal)
108108
{
109109
ColdStart = coldStart,
110110
ConfigurationStorage = null,
111+
IsLeaderLeaseEnabled = true,
111112
};
112113

113114
return new(config) { AuditTrail = wal };

src/DotNext.Tests/Net/Cluster/Consensus/Raft/NetworkTransport/ConnectionOriented/Tcp/TcpTransportTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ static RaftCluster CreateCluster(int port, bool coldStart, IPersistentState wal
215215
{
216216
ColdStart = coldStart,
217217
ConfigurationStorage = null,
218+
IsLeaderLeaseEnabled = true,
218219
};
219220

220221
return new(config)

0 commit comments

Comments
 (0)