Skip to content

Commit

Permalink
update nodetest
Browse files Browse the repository at this point in the history
  • Loading branch information
MacOMNI committed Jan 10, 2025
1 parent 5c68e4a commit 115d38c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Node/Tests/NodeTests/NodeTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ final class NodeTests {
await middleware.wait()
}
}

Check failure on line 177 in Node/Tests/NodeTests/NodeTests.swift

View workflow job for this annotation

GitHub Actions / Swift Lint

Trailing Whitespace (trailing_whitespace)

Lines should not have trailing whitespace
let validator1BestHead = await validator1.dataProvider.bestHead
let validator2BestHead = await validator2.dataProvider.bestHead

Expand Down Expand Up @@ -217,7 +217,7 @@ final class NodeTests {
#expect(node1.network.peersCount == 19)
#expect(node2.network.peersCount == 19)
// Advance time to produce blocks
for _ in 0..<20 {
for _ in 0..<50 {
await scheduler.advance(
by: TimeInterval(validator1.blockchain.config.value.slotPeriodSeconds))
await validator1StoreMiddlware.wait()
Expand Down

0 comments on commit 115d38c

Please sign in to comment.