Skip to content

Commit

Permalink
Longer timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan Olshevski committed Jan 8, 2025
1 parent efa2567 commit 46c643d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions internal/controllers/reconciliation/edgecase_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"testing"
"time"

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"k8s.io/apimachinery/pkg/api/errors"
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
Expand Down Expand Up @@ -209,8 +210,8 @@ func TestLargeNamespaceDeletion(t *testing.T) {

require.NoError(t, upstream.Delete(ctx, comp))

testutil.Eventually(t, func() bool {
assert.Eventually(t, func() bool {
err := upstream.Get(ctx, client.ObjectKeyFromObject(comp), comp)
return errors.IsNotFound(err)
})
}, time.Minute*3, time.Second)
}

0 comments on commit 46c643d

Please sign in to comment.