Commit 7b0d179
committed
YARN-11390. TestResourceTrackerService.testNodeRemovalNormally: Shutdown nodes should be 0 now expected: <1> but was: <0>
- The hardcoded sleep what was used in the test was not the most stable solution
- It was replaced with a polling assert1 parent 5fc63f9 commit 7b0d179
1 file changed
Lines changed: 7 additions & 8 deletions
File tree
- hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
66 | 67 | | |
67 | 68 | | |
68 | 69 | | |
| |||
2961 | 2962 | | |
2962 | 2963 | | |
2963 | 2964 | | |
2964 | | - | |
2965 | | - | |
| 2965 | + | |
| 2966 | + | |
| 2967 | + | |
2966 | 2968 | | |
2967 | 2969 | | |
2968 | 2970 | | |
2969 | | - | |
2970 | | - | |
2971 | | - | |
2972 | | - | |
2973 | | - | |
2974 | | - | |
| 2971 | + | |
| 2972 | + | |
| 2973 | + | |
2975 | 2974 | | |
2976 | 2975 | | |
2977 | 2976 | | |
| |||
0 commit comments