Skip to content

Commit 80171af

Browse files
authored
fix: add wait after both httproute deletes for status to update (#1056)
1 parent fbc04d8 commit 80171af

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

conformance/tests/basic/inferencepool_resolvedrefs_condition.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,9 @@ var InferencePoolParentStatus = suite.ConformanceTest{
154154
t.Logf("Deleting HTTPRoute %s", httpRouteSecondaryNN.String())
155155
require.NoError(t, s.Client.Delete(context.TODO(), httpRouteSecondary), "failed to delete httproute-for-secondary-gw")
156156

157+
t.Logf("Waiting for %v for Gateway conditions to update after deleting HTTPRoute %s", inferenceTimeoutConfig.HTTPRouteDeletionReconciliationTimeout, httpRouteSecondaryNN.String())
158+
time.Sleep(inferenceTimeoutConfig.HTTPRouteDeletionReconciliationTimeout)
159+
157160
k8sutils.InferencePoolMustHaveNoParents(t, s.Client, poolNN)
158161
t.Logf("InferencePool %s correctly shows no parent statuses, indicating it's no longer referenced.", poolNN.String())
159162

0 commit comments

Comments
 (0)