Skip to content

Commit dec0d58

Browse files
committed
Start pusher engine in mocks
When using Unit, calling Ready would also start the engine. With ComponentManager, we additionally need to invoke Start.
1 parent 0aadc13 commit dec0d58

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

engine/testutil/mock/nodes.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ func (n CollectionNode) Start(t *testing.T) {
140140
n.IngestionEngine.Start(n.Ctx)
141141
n.EpochManagerEngine.Start(n.Ctx)
142142
n.ProviderEngine.Start(n.Ctx)
143+
n.PusherEngine.Start(n.Ctx)
143144
}
144145

145146
func (n CollectionNode) Ready() <-chan struct{} {

0 commit comments

Comments
 (0)