Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
V-Staykov committed Oct 29, 2024
1 parent eee60e6 commit 3eab9a7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions zk/stages/test_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ func (c *TestDatastreamClient) ReadAllEntriesToChannel() error {
c.entriesChan <- &c.gerUpdates[i]
}

c.entriesChan <- nil // needed to stop processing

for {
if c.stopReadingToChannel.Load() {
break
Expand Down

0 comments on commit 3eab9a7

Please sign in to comment.