From c26da2727c0b1d04b17be6b930d57c4d10024e98 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Tue, 25 Oct 2022 12:54:06 +0100 Subject: [PATCH] Sleep for now --- federationapi/federationapi_keys_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/federationapi/federationapi_keys_test.go b/federationapi/federationapi_keys_test.go index 5a748affd..787bb9945 100644 --- a/federationapi/federationapi_keys_test.go +++ b/federationapi/federationapi_keys_test.go @@ -208,8 +208,8 @@ func TestRenewalBehaviour(t *testing.T) { // happy at this point that the key that we already have is from the past // then repeating a key fetch should cause us to try and renew the key. // If so, then the new key will end up in our cache. - serverC.renew() + time.Sleep(time.Second / 2) res, err = serverA.api.FetchKeys( context.Background(),