From f88d79e905f9b5268e29b6d58fb41d0d7fc836d0 Mon Sep 17 00:00:00 2001 From: tsmethurst Date: Sat, 16 Oct 2021 11:48:45 +0200 Subject: [PATCH] increase sleep for slow test setups --- internal/processing/followrequest_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/processing/followrequest_test.go b/internal/processing/followrequest_test.go index 12dcd80aa..600492a9b 100644 --- a/internal/processing/followrequest_test.go +++ b/internal/processing/followrequest_test.go @@ -106,7 +106,7 @@ func (suite *FollowRequestTestSuite) TestFollowRequestReject() { relationship, errWithCode := suite.processor.FollowRequestReject(context.Background(), suite.testAutheds["local_account_1"], requestingAccount.ID) suite.NoError(errWithCode) suite.EqualValues(&apimodel.Relationship{ID: "01FHMQX3GAABWSM0S2VZEC2SWC", Following: false, ShowingReblogs: false, Notifying: false, FollowedBy: false, Blocking: false, BlockedBy: false, Muting: false, MutingNotifications: false, Requested: false, DomainBlocking: false, Endorsed: false, Note: ""}, relationship) - time.Sleep(10 * time.Millisecond) + time.Sleep(1 * time.Second) // reject should be sent to some_user sent, ok := suite.sentHTTPRequests[requestingAccount.InboxURI]