Skip to content

Commit

Permalink
Merge branch 'master' into YUNIKORN-2724
Browse files Browse the repository at this point in the history
  • Loading branch information
pbacsko committed Aug 1, 2024
2 parents 0669b1b + 138d53a commit d7ef717
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/cache/context_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -526,9 +526,9 @@ func TestUpdatePod(t *testing.T) {
context.UpdatePod(pod1, pod3)
pod = context.schedulerCache.GetPod(uid1)
assert.Check(t, pod == nil, "pod still found after termination")
app := context.getApplication("yunikorn-test-00001")
app := context.getApplication(appID1)
// ensure that an updated pod is updated inside the Task
task := app.GetTask("UID-00001")
task := app.GetTask(uid1)
assert.Assert(t, task.GetTaskPod() == pod3, "task pod has not been updated")

// ensure a non-terminated pod is updated
Expand Down

0 comments on commit d7ef717

Please sign in to comment.