Skip to content

Commit dc5c4ab

Browse files
authored
fix header and remove extra comments (#883)
1 parent 13573f5 commit dc5c4ab

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

conformance/tests/basic/inferencepool_resolvedrefs_condition.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ var InferencePoolParentStatus = suite.ConformanceTest{
110110
t.Logf("Deleting HTTPRoute %s", httpRoutePrimaryNN.String())
111111
require.NoError(t, s.Client.Delete(context.TODO(), httpRoutePrimary), "failed to delete httproute-for-primary-gw")
112112

113-
t.Logf("Waiting for %v for Gateway conditions to update after deleting HTTPRoute %s", inferenceTimeoutConfig.HTTPRouteDeletionReconciliationTimeout, httpRoutePrimaryNN.String()) //
114-
time.Sleep(inferenceTimeoutConfig.HTTPRouteDeletionReconciliationTimeout) //
113+
t.Logf("Waiting for %v for Gateway conditions to update after deleting HTTPRoute %s", inferenceTimeoutConfig.HTTPRouteDeletionReconciliationTimeout, httpRoutePrimaryNN.String())
114+
time.Sleep(inferenceTimeoutConfig.HTTPRouteDeletionReconciliationTimeout)
115115

116116
k8sutils.InferencePoolMustBeAcceptedByParent(t, s.Client, poolNN)
117117
t.Logf("InferencePool %s still has parent status Accepted:True as expected with one reference remaining.", poolNN.String())

conformance/utils/traffic/traffic.go

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
1-
// Add these functions to conformance/utils/traffic/traffic.go
1+
/*
2+
Copyright 2025 The Kubernetes Authors.
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
*/
216

317
package traffic
418

0 commit comments

Comments
 (0)