Skip to content

Commit

Permalink
one more
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe committed Oct 31, 2023
1 parent 561bd76 commit dd72a53
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions impl/pkg/service/pkarr_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package service
import (
"context"
"testing"
"time"

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit dd72a53

Please sign in to comment.