Changes

Summary

  1. [SPARK-37056][CORE] Remove unused code in HistoryServer'ss unit test (details)
Commit 8f6af642bc5c48db04c8c99b5897ec052c1ae15e by srowen
[SPARK-37056][CORE] Remove unused code in HistoryServer'ss unit test

### What changes were proposed in this pull request?
Remove unused code in HistoryServer 's unit test.

Since `HistoryServer.initialize()` is called when construct the object, we should remove the call in unit test.

### Why are the changes needed?
Fix ut code

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?
Existed UT

Closes #34327 from AngersZhuuuu/SPARK-37056.

Authored-by: Angerszhuuuu <angers.zhu@gmail.com>
Signed-off-by: Sean Owen <srowen@gmail.com>
The file was modifiedcore/src/test/scala/org/apache/spark/deploy/history/HistoryServerSuite.scala (diff)
The file was modifiedcore/src/test/scala/org/apache/spark/deploy/history/RealBrowserUIHistoryServerSuite.scala (diff)