Skip to content

Commit b19449d

Browse files
committed
DEBUG
1 parent d138c91 commit b19449d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

test/e2e-common.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ function knative_conformance() {
202202

203203
kubectl get httproute -A -o yaml
204204

205-
return $?
205+
return 1
206206
}
207207

208208
function gateway_conformance() {

vendor/knative.dev/networking/test/conformance/ingress/util.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -826,7 +826,7 @@ func CreateIngress(ctx context.Context, t *testing.T, clients *test.Clients, spe
826826
// TODO: set the HTTPOption in SetDefaults after release 0.24
827827
setDefaultsForTest(ing)
828828

829-
t.Cleanup(func() { clients.NetworkingClient.Ingresses.Delete(ctx, ing.Name, metav1.DeleteOptions{}) })
829+
//t.Cleanup(func() { clients.NetworkingClient.Ingresses.Delete(ctx, ing.Name, metav1.DeleteOptions{}) })
830830
if err := reconciler.RetryTestErrors(func(attempts int) (err error) {
831831
if attempts > 0 {
832832
t.Logf("Attempt %d creating ingress %s", attempts, ing.Name)
@@ -841,10 +841,10 @@ func CreateIngress(ctx context.Context, t *testing.T, clients *test.Clients, spe
841841
}
842842

843843
return ing, func() {
844-
err := clients.NetworkingClient.Ingresses.Delete(ctx, ing.Name, metav1.DeleteOptions{})
845-
if err != nil {
846-
t.Errorf("Error cleaning up Ingress %q: %v", ingName, err)
847-
}
844+
//err := clients.NetworkingClient.Ingresses.Delete(ctx, ing.Name, metav1.DeleteOptions{})
845+
//if err != nil {
846+
// t.Errorf("Error cleaning up Ingress %q: %v", ingName, err)
847+
//}
848848
}
849849
}
850850

0 commit comments

Comments
 (0)