Skip to content

Commit

Permalink
workaround for TestKafkaSourceDeletedFromContractConfigMaps timeouts …
Browse files Browse the repository at this point in the history
…on cleanup (#932)
  • Loading branch information
maschmid authored Dec 20, 2023
1 parent 82b28e6 commit 60b7888
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/vendor/knative.dev/reconciler-test/pkg/feature/feature.go b/vendor/knative.dev/reconciler-test/pkg/feature/feature.go
index c245012ff..933f50e79 100644
--- a/vendor/knative.dev/reconciler-test/pkg/feature/feature.go
+++ b/vendor/knative.dev/reconciler-test/pkg/feature/feature.go
@@ -229,7 +229,7 @@ func DeleteResources(ctx context.Context, t T, refs []corev1.ObjectReference) er

var lastResource corev1.ObjectReference // One still present resource

- err := wait.Poll(time.Second, 4*time.Minute, func() (bool, error) {
+ err := wait.Poll(time.Second, 8*time.Minute, func() (bool, error) {
for _, ref := range refs {
gv, err := schema.ParseGroupVersion(ref.APIVersion)
if err != nil {
2 changes: 1 addition & 1 deletion vendor/knative.dev/reconciler-test/pkg/feature/feature.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ func DeleteResources(ctx context.Context, t T, refs []corev1.ObjectReference) er

var lastResource corev1.ObjectReference // One still present resource

err := wait.Poll(time.Second, 4*time.Minute, func() (bool, error) {
err := wait.Poll(time.Second, 8*time.Minute, func() (bool, error) {
for _, ref := range refs {
gv, err := schema.ParseGroupVersion(ref.APIVersion)
if err != nil {
Expand Down

0 comments on commit 60b7888

Please sign in to comment.