Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ final class CRDTGossipReplicationClusteredTests: ClusteredActorSystemsXCTestCase

func test_gossip_shouldEventuallyStopSpreading() throws {
let configure: (inout ActorSystemSettings) -> Void = { settings in
settings.crdt.gossipInterval = .milliseconds(300)
settings.crdt.gossipInterval = .milliseconds(200)
settings.crdt.gossipIntervalRandomFactor = 0 // no random factor, exactly 1second intervals
}
let first = self.setUpNode("first", configure)
Expand Down Expand Up @@ -259,7 +259,7 @@ final class CRDTGossipReplicationClusteredTests: ClusteredActorSystemsXCTestCase
let logs: [CapturedLogMessage] = self.capturedLogs(of: first)
.grep("Received gossip", metadata: ["gossip/identity": "counter"])

guard logs.count < 5 else {
guard logs.count < 10 else {
throw testKit.error("Received gossip more times than expected! Logs: \(lineByLine: logs)")
}
}
Expand Down