SophieTech88 commented on PR #985: URL: https://github.com/apache/yunikorn-core/pull/985#issuecomment-2417752452
Here I find there are 4 test functions: - TestTryPreemption: 1 node - TestTryPreemptionOnNode : 2 nodes - TestTryPreemption_NodeWithCapacityLesserThanAsk : 2 nodes - TestTryPreemptionOnQueue : 2 nodes As a draft here, I made a `func TestTryPreemptionMerge2()` to deal with 3 tests, `TestTryPreemptionOnNode` , `TestTryPreemption_NodeWithCapacityLesserThanAsk` and `TestTryPreemptionOnQueue`, all of them have 2 nodes, they have similar process, and the test passed. But when I want to merge test `TestTryPreemption` ,which has only one node , to the `func TestTryPreemptionMerge()` as an example, it failed. `assert.Assert(t, result != nil, "no result") // assertion failed: result is nil : no result`. So my guess, it failed to create a new preemptor here. Welcome to any suggestions here. -- 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]
