loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request 'bug: require.Eventually must not test with assert' (#5869) from earl-warren/forgejo:wip-race-test into forgejo

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5869
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>

+1 -1
+1 -1
tests/integration/actions_trigger_test.go
··· 321 321 require.Eventually(t, func() bool { 322 322 actionRuns = make([]*actions_model.ActionRun, 0) 323 323 require.NoError(t, db.GetEngine(db.DefaultContext).Where("repo_id=?", baseRepo.ID).Find(&actionRuns)) 324 - return assert.Len(t, actionRuns, count) 324 + return len(actionRuns) == count 325 325 }, 30*time.Second, 1*time.Second) 326 326 327 327 // verify the expected ActionRuns were created