Skip to content

Commit 6fdaebb

Browse files
authored
core/services/keeper: fix test race by closeing Executor (#21788)
1 parent 2844e79 commit 6fdaebb

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

core/services/keeper/upkeep_executer_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,8 +267,7 @@ func Test_UpkeepExecuter_PerformsUpkeep_Happy(t *testing.T) {
267267
cltest.MustInsertUpkeepForRegistry(t, db, registry)
268268
lggr := logger.TestLogger(t)
269269
executer := keeper.NewUpkeepExecuter(jb, orm, jpv2.Pr, ethMock, ch.HeadBroadcaster(), ch.GasEstimator(), lggr, cfg.Keeper(), jb.KeeperSpec.FromAddress.Address())
270-
err := executer.Start(testutils.Context(t))
271-
require.NoError(t, err)
270+
servicetest.Run(t, executer)
272271
head := newHead()
273272
executer.OnNewLongestChain(testutils.Context(t), &head)
274273
// TODO we want to see an errored run result once this is completed

0 commit comments

Comments
 (0)