Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
  • Loading branch information
pierDipi committed May 15, 2024
1 parent 1be39d8 commit 50ec78c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hack/e2e-debug.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ wait_until_pods_running knative-eventing || fail_test "Pods in knative-eventing

header "Running tests"

go_test_e2e -timeout=30m -run="${test_name}" "${test_dir}" || fail_test "Test(s) failed"
go test -tags=e2e -v -parallel="${PARALLEL:-12}" -timeout=30m -run="${test_name}" "${test_dir}" || fail_test "Test(s) failed"
8 changes: 7 additions & 1 deletion test/rekt/features/trigger/feature.go
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,13 @@ func TriggerWithTLSSubscriberWithAdditionalCATrustBundles() *feature.Feature {
f.Setup("Wait for Trigger to become ready", trigger.IsReady(triggerName))

f.Setup("Install failing trigger", func(ctx context.Context, t feature.T) {
dls := service.AsDestinationRef(dlsName)
dls := &duckv1.Destination{
URI: &apis.URL{
Scheme: "https", // Force using https
Host: network.GetServiceHostname(dlsName, environment.FromContext(ctx).Namespace()),
},
CACerts: nil, // CA certs are in the new trust-bundle
}

linear := eventingv1.BackoffPolicyLinear
trigger.Install(dlsTriggerName, brokerName,
Expand Down

0 comments on commit 50ec78c

Please sign in to comment.