From dd72a53e11e751c564a59149b446de2d0e2a565d Mon Sep 17 00:00:00 2001 From: gabe Date: Tue, 31 Oct 2023 16:52:33 -0700 Subject: [PATCH] one more --- impl/pkg/service/pkarr_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/impl/pkg/service/pkarr_test.go b/impl/pkg/service/pkarr_test.go index dc23266d..5b73a25f 100644 --- a/impl/pkg/service/pkarr_test.go +++ b/impl/pkg/service/pkarr_test.go @@ -3,6 +3,7 @@ package service import ( "context" "testing" + "time" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" @@ -90,6 +91,9 @@ func TestPKARRService(t *testing.T) { suffix, err := d.Suffix() assert.NoError(t, err) + // wait for the record to be published + time.Sleep(10 * time.Second) + got, err := svc.GetPKARR(context.Background(), suffix) assert.NoError(t, err) assert.NotEmpty(t, got)