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)