Skip to content

Commit

Permalink
fix two flaky tests (#64)
Browse files Browse the repository at this point in the history
Co-authored-by: Trajan0x <trajan0x@users.noreply.github.com>
  • Loading branch information
2 people authored and ChiTimesChi committed Jul 15, 2022
1 parent 3f20a9c commit cac81bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ jobs:
# Path to your GolangCI-Lint config within the repo (optional)
config: ${{ env.GITHUB_WORKSPACE }}/.golangci.yml
# see: https://github.com/golangci/golangci-lint/issues/2654
args: --timeout=5m
args: --timeout=10m
env:
# GitHub token for annotations (optional)
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions core/agents/updater/updater_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ func (u UpdaterSuite) TestUpdaterE2E() {
u.testBackend.WaitForConfirmation(u.GetTestContext(), tx)

go func() {
err = ud.Start(u.GetTestContext())
Nil(u.T(), err)
// we don't check errors here since this will error on cancellation at the end of the test
_ = ud.Start(u.GetTestContext())
}()

u.Eventually(func() bool {
Expand Down

0 comments on commit cac81bc

Please sign in to comment.