From 60639a6a0ee9ee79a93d998697b083314e840e9c Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Fri, 31 Mar 2023 15:19:50 +0200 Subject: [bugfix] Fix multiple "updated_at" columns for media updates (#1660) * [bugfix] Fix multiple "updated_at" columns for media updates * silly unrelated race condition --- internal/processing/account_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/processing/account_test.go') diff --git a/internal/processing/account_test.go b/internal/processing/account_test.go index fb66d7d0a..83eebedba 100644 --- a/internal/processing/account_test.go +++ b/internal/processing/account_test.go @@ -88,7 +88,7 @@ func (suite *AccountTestSuite) TestAccountDeleteLocal() { if !testrig.WaitFor(func() bool { dbAccount, _ := suite.db.GetAccountByID(ctx, deletingAccount.ID) - return suite.WithinDuration(dbAccount.SuspendedAt, time.Now(), 30*time.Second) + return !dbAccount.SuspendedAt.IsZero() }) { suite.FailNow("timed out waiting for account to be deleted") } -- cgit v1.2.3