pbacsko commented on code in PR #561:
URL: https://github.com/apache/yunikorn-core/pull/561#discussion_r1227669883
##########
pkg/scheduler/objects/application_test.go:
##########
@@ -1815,18 +1815,18 @@ func TestTryAllocatePreemptNode(t *testing.T) {
// consume capacity with 'unlimited' app
alloc00 :=
app0.tryAllocate(resources.NewResourceFromMap(map[string]resources.Quantity{"first":
40}), 30*time.Second, &preemptionAttemptsRemaining, iterator, iterator,
getNode)
assert.Assert(t, alloc00 != nil, "alloc00 expected")
- alloc01 :=
app0.tryAllocate(resources.NewResourceFromMap(map[string]resources.Quantity{"first":
39}), 30*time.Second, &preemptionAttemptsRemaining, iterator, iterator,
getNode)
+ alloc01 :=
app0.tryAllocate(resources.NewResourceFromMap(map[string]resources.Quantity{"first":
29}), 30*time.Second, &preemptionAttemptsRemaining, iterator, iterator,
getNode)
Review Comment:
Remove changes in this file, they're not needed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]