forked from apache/celeborn
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CELEBORN-1639] Fix SlotsAllocatorRackAwareSuiteJ UT
### What changes were proposed in this pull request? In offerSlotsRoundRobinWithRackAware and offerSlotsRoundRobinWithRackAwareWithoutMappingFile method of SlotsAllocatorRackAwareSuiteJ UT, the result slots is empty, so they can not test the slots allocation with rack aware is true. ### Why are the changes needed? To fix the exists UT ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Fix UT methods: `offerSlotsRoundRobinWithRackAware()` and `offerSlotsRoundRobinWithRackAwareWithoutMappingFile()` Closes apache#2800 from wankunde/slots_allocator2. Authored-by: wankunde <[email protected]> Signed-off-by: mingji <[email protected]>
- Loading branch information
Showing
1 changed file
with
19 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters