File tree 1 file changed +4
-11
lines changed
test/rekt/features/integrationsink
1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -131,17 +131,10 @@ func OIDC() *feature.Feature {
131
131
eventshub .AddSequence ,
132
132
eventshub .SendMultipleEvents (2 , time .Millisecond )))
133
133
134
- f .Requirement ("install source for ksink without audience" , func (ctx context.Context , t feature.T ) {
135
- addr , err := integrationsink .Address (ctx , sourceNoAudience )
136
- if err != nil {
137
- t .Error (err )
138
- return
139
- }
140
-
141
- eventshub .Install (sourceNoAudience ,
142
- eventshub .StartSenderURLTLS (addr .URL .String (), addr .CACerts ),
143
- eventshub .InputEvent (eventNoAudience ))(ctx , t )
144
- })
134
+ f .Requirement ("install source for ksink without audience" , eventshub .Install (sourceNoAudience ,
135
+ eventshub .StartSenderToResourceTLS (integrationsink .GVR (), integrationSink , nil ),
136
+ eventshub .InputEvent (eventNoAudience )
137
+ ))
145
138
146
139
f .Assert ("IntegrationSink has audience in address" , func (ctx context.Context , t feature.T ) {
147
140
gvk := schema.GroupVersionKind {
You can’t perform that action at this time.
0 commit comments