Passed context for Wait methods in integration test utils

This commit is contained in:
Sharath P J 2025-01-24 19:47:02 +05:30
parent 627e83c841
commit 44ca3b3654

View File

@ -1597,6 +1597,7 @@ func TestNominatedNodeCleanUp(t *testing.T) {
}, },
}, },
postChecks: []func(ctx context.Context, cs clientset.Interface, pod *v1.Pod) error{ postChecks: []func(ctx context.Context, cs clientset.Interface, pod *v1.Pod) error{
testutils.WaitForPodToSchedule,
waitForNominatedNodeName, waitForNominatedNodeName,
testutils.WaitForPodToSchedule, testutils.WaitForPodToSchedule,
}, },