@@ -179,11 +179,6 @@ var GatewayListenerHTTPRouteDynamicPorts = suite.ConformanceTest{
179
179
require .NoErrorf (t , err , "timed out waiting for Gateway address to be assigned" )
180
180
181
181
for _ , listener := range mutate .Spec .Listeners {
182
- timeoutConfig := s .TimeoutConfig
183
- // TODO - It takes much longer for listeners to be consistent
184
- if timeoutConfig .MaxTimeToConsistency < timeoutConfig .GatewayStatusMustHaveListeners {
185
- timeoutConfig .MaxTimeToConsistency = timeoutConfig .GatewayStatusMustHaveListeners
186
- }
187
182
host , _ , err := net .SplitHostPort (gwAddr )
188
183
require .NoErrorf (t , err , "unable to split gateway address %q" , gwAddr )
189
184
@@ -198,9 +193,9 @@ var GatewayListenerHTTPRouteDynamicPorts = suite.ConformanceTest{
198
193
if listener .TLS != nil {
199
194
host := string (* listener .Hostname )
200
195
expectedResponse .Request .Host = host
201
- tls .MakeTLSRequestAndExpectEventuallyConsistentResponse (t , s .RoundTripper , timeoutConfig , addr , certBytes , keyBytes , host , expectedResponse )
196
+ tls .MakeTLSRequestAndExpectEventuallyConsistentResponse (t , s .RoundTripper , s . TimeoutConfig , addr , certBytes , keyBytes , host , expectedResponse )
202
197
} else {
203
- http .MakeRequestAndExpectEventuallyConsistentResponse (t , s .RoundTripper , timeoutConfig , addr , expectedResponse )
198
+ http .MakeRequestAndExpectEventuallyConsistentResponse (t , s .RoundTripper , s . TimeoutConfig , addr , expectedResponse )
204
199
}
205
200
206
201
}
0 commit comments